Home
last modified time | relevance | path

Searched refs:CompileRun (Results 1 – 25 of 55) sorted by relevance

123

/external/v8/test/cctest/
Dtest-object-observe.cc49 CompileRun( in TEST()
55 Local<Value> observer = CompileRun("observer"); in TEST()
56 Local<Value> obj = CompileRun("obj"); in TEST()
57 Local<Value> notify_fun1 = CompileRun("(function() { obj.foo = 'bar'; })"); in TEST()
66 notify_fun2 = CompileRun( in TEST()
77 notify_fun3 = CompileRun("(function() { obj.foo = 'bat'; })"); in TEST()
98 CompileRun("fun1(); fun2(); fun3(); Object.deliverChangeRecords(observer)"); in TEST()
100 CHECK_EQ(1, ToInt32(CompileRun("calls"))); in TEST()
101 CHECK_EQ(3, ToInt32(CompileRun("count"))); in TEST()
109 CompileRun( in TEST()
[all …]
Dtest-javascript-arm64.cc92 Local<Value> result = CompileRun("0x271828;"); in TEST()
100 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;"); in TEST()
108 Local<Value> result = CompileRun( in TEST()
118 Local<Value> result = CompileRun( in TEST()
138 Local<Value> result = CompileRun(buffer); in if_comparison_testcontext_helper()
153 Local<Value> result = CompileRun(buffer); in if_comparison_effectcontext_helper()
192 result = CompileRun("var a = 1234; +a"); in TEST()
195 result = CompileRun("var a = 1234.5; +a"); in TEST()
198 result = CompileRun("var a = '1234'; +a"); in TEST()
201 result = CompileRun("var a = '1234.5'; +a"); in TEST()
[all …]
Dtest-deoptimization.cc131 CompileRun( in TEST()
152 CompileRun( in TEST()
177 CompileRun( in TEST()
199 CompileRun( in TEST()
225 CompileRun( in TEST()
258 CompileRun( in TEST()
293 CompileRun( in TEST()
329 CompileRun( in TEST()
351 CompileRun( in TEST()
382 CompileRun( in TEST()
[all …]
Dtest-microtask-delivery.cc62 CompileRun( in TEST()
87 6, CompileRun("ordering.length")->Int32Value(context.local()).FromJust()); in TEST()
89 CompileRun("ordering[0]")->Int32Value(context.local()).FromJust()); in TEST()
91 CompileRun("ordering[1]")->Int32Value(context.local()).FromJust()); in TEST()
93 CompileRun("ordering[2]")->Int32Value(context.local()).FromJust()); in TEST()
95 CompileRun("ordering[3]")->Int32Value(context.local()).FromJust()); in TEST()
97 CompileRun("ordering[4]")->Int32Value(context.local()).FromJust()); in TEST()
99 CompileRun("ordering[5]")->Int32Value(context.local()).FromJust()); in TEST()
109 CompileRun( in TEST()
111 v8::Local<v8::Value> obj = CompileRun("obj"); in TEST()
[all …]
Dtest-unscopables-hidden-prototype.cc14 CompileRun( in Cleanup()
51 CHECK_EQ(1, CompileRun("var result;" in TEST()
62 CHECK_EQ(2, CompileRun("var result;" in TEST()
73 CHECK_EQ(0, CompileRun("var result;" in TEST()
85 CHECK_EQ(0, CompileRun("var result;" in TEST()
97 CHECK_EQ(0, CompileRun("var result;" in TEST()
109 CHECK_EQ(0, CompileRun("var result;" in TEST()
Dtest-thread-termination.cc56 CompileRun(args.GetIsolate()->GetCurrentContext(), in Loop()
67 CompileRun(args.GetIsolate()->GetCurrentContext(), in DoLoop()
94 CompileRun(args.GetIsolate()->GetCurrentContext(), in DoLoopNoCall()
134 CompileRun(CcTest::isolate()->GetCurrentContext(), in TEST()
139 result = CompileRun(CcTest::isolate()->GetCurrentContext(), in TEST()
158 CompileRun(CcTest::isolate()->GetCurrentContext(), source); in TEST()
162 result = CompileRun(CcTest::isolate()->GetCurrentContext(), source); in TEST()
199 CompileRun(CcTest::isolate()->GetCurrentContext(), in TEST()
230 CompileRun(args.GetIsolate()->GetCurrentContext(), in LoopGetProperty()
271 CompileRun(isolate->GetCurrentContext(), source); in TEST()
[all …]
Dtest-feedback-vector.cc205 CompileRun( in TEST()
218 CompileRun("f(function() { return 16; })"); in TEST()
228 CompileRun("f(Array)"); in TEST()
246 CompileRun( in TEST()
257 CompileRun("f(o)"); in TEST()
267 CompileRun("f({ blarg: 3, foo: 2 })"); in TEST()
270 CompileRun( in TEST()
275 CompileRun("f({ blarg: 3, torino: 10, foo: 2 })"); in TEST()
282 CompileRun("f({ blarg: 3, gran: 3, torino: 10, foo: 2 })"); in TEST()
301 CompileRun( in TEST()
[all …]
Dtest-api-interceptors.cc364 v8::Local<Value> value = CompileRun( in THREADED_TEST()
368 value = CompileRun( in THREADED_TEST()
372 value = CompileRun( in THREADED_TEST()
393 CompileRun( in THREADED_TEST()
405 v8::Local<Value> value = CompileRun( in THREADED_TEST()
426 v8::Local<Value> value = CompileRun(source); in CheckInterceptorLoadIC()
653 v8::Local<Value> value = CompileRun( in THREADED_TEST()
662 value = CompileRun( in THREADED_TEST()
693 v8::Local<Value> value = CompileRun( in THREADED_TEST()
703 value = CompileRun( in THREADED_TEST()
[all …]
Dtest-js-arm64-variables.cc74 Local<Value> result = CompileRun( in TEST()
86 Local<Value> result = CompileRun( in TEST()
97 Local<Value> result = CompileRun( in TEST()
108 Local<Value> result = CompileRun( in TEST()
122 Local<Value> result = CompileRun( in TEST()
136 Local<Value> result = CompileRun( in TEST()
Dtest-api.cc204 CompileRun(source.start()); in TestSignature()
261 CompileRun( in THREADED_TEST()
289 Local<Value> test_object = CompileRun(source.start()); in THREADED_TEST()
349 Local<v8::Array> value = CompileRun("[\"a\", \"b\"]").As<v8::Array>(); in THREADED_TEST()
627 CompileRun("function cons(a, b) { return a + b; }" in TEST()
630 Local<String> cons = Local<String>::Cast(CompileRun( in TEST()
633 Local<String> slice = Local<String>::Cast(CompileRun( in TEST()
1034 CompileRun("var obj_instance = new obj();"); in TestFunctionTemplateAccessor()
1187 return scope.Escape(CompileRun("callback_object.callback()")); in TestFastReturnValues()
1320 CHECK(CompileRun("function foo() {\n" in TestExternalPointerWrapping()
[all …]
Dtest-api-fast-accessor-builder.cc93 CompileRun(FN_WARMUP("barf", "f = new foo(); return f.barf")); in TEST()
132 CompileRun(FN_WARMUP("field0", "return obj.field0")); in TEST()
133 CompileRun(FN_WARMUP("field1", "return obj.field1")); in TEST()
134 CompileRun(FN_WARMUP("field2", "return obj.field2")); in TEST()
177 CompileRun(FN_WARMUP("nullcheck", "return obj.nullcheck")); in TEST()
184 CompileRun(FN_WARMUP("maskcheck", "return obj.maskcheck")); in TEST()
219 CompileRun(FN_WARMUP("isnull", "return obj.isnull")); in TEST()
278 CompileRun(FN_WARMUP("nonzero", "return obj.nonzero")); in TEST()
286 CompileRun(FN_WARMUP("loadval", "return obj.loadval")); in TEST()
Dcctest.h400 static inline v8::MaybeLocal<v8::Value> CompileRun( in CompileRun() function
420 static inline v8::Local<v8::Value> CompileRun(v8::Local<v8::String> source) { in CompileRun() function
432 static inline v8::Local<v8::Value> CompileRun(const char* source) { in CompileRun() function
433 return CompileRun(v8_str(source)); in CompileRun()
437 static inline v8::Local<v8::Value> CompileRun( in CompileRun() function
466 return CompileRun(context, &script_source, options); in ParserCacheCompileRun()
481 return CompileRun(context, &script_source, in CompileRunWithOrigin()
492 return CompileRun(context, &script_source, in CompileRunWithOrigin()
505 v8::Local<v8::Value> result = CompileRun(code); in ExpectString()
513 v8::Local<v8::Value> result = CompileRun(code); in ExpectInt32()
[all …]
Dtest-global-object.cc80 result = Local<Array>::Cast(CompileRun("Object.keys(global2)")); in TEST()
92 Local<Array>::Cast(CompileRun("Object.getOwnPropertyNames(global2)")); in TEST()
102 result = Local<Array>::Cast(CompileRun("Object.keys(global2)")); in TEST()
105 Local<Array>::Cast(CompileRun("Object.getOwnPropertyNames(global2)")); in TEST()
Dtest-log-stack-tracer.cc139 CompileRun(trace_call_buf.start()); in CreateTraceCallerFunction()
162 Local<Value> result = CompileRun( in TEST()
211 Local<Value> result = CompileRun( in TEST()
287 CompileRun("a = 1; b = a + 1;"); in TEST()
289 CompileRun("js_entry_sp();"); in TEST()
291 CompileRun("js_entry_sp_level2();"); in TEST()
Dtest-inobject-slack-tracking.cc86 static inline Handle<T> CompileRun(const char* script) { in CompileRun() function
87 return OpenHandle<T>(CompileRun(script)); in CompileRun()
143 CompileRun(source); in TEST()
205 CompileRun(source); in TEST()
212 Handle<JSObject> obj1 = CompileRun<JSObject>("new A(1);"); in TEST()
213 Handle<JSObject> obj3 = CompileRun<JSObject>("new A(3);"); in TEST()
214 Handle<JSObject> obj5 = CompileRun<JSObject>("new A(5);"); in TEST()
236 CompileRun("new A(3);"); in TEST()
255 obj1 = CompileRun<JSObject>("new A(1);"); in TEST()
256 obj3 = CompileRun<JSObject>("new A(3);"); in TEST()
[all …]
Dtest-compiler.cc298 CompileRun("function fun() {};" in TEST()
318 CompileRun("%OptimizeFunctionOnNextCall(f); f(fun1);"); in TEST()
336 CompileRun("function builder() {" in TEST()
357 CompileRun("morphing_call();"); in TEST()
377 CompileRun( in TEST()
429 CompileRun( in TEST()
451 CompileRun( in TEST()
501 CompileRun( in TEST()
526 CompileRun( in TEST()
555 CompileRun("var r = 10;"); in TEST()
[all …]
Dtest-serialize.cc531 CompileRun( in UNINITIALIZED_TEST()
548 CompileRun(source_str.ToLocalChecked()); in UNINITIALIZED_TEST()
637 double r = CompileRun("r") in UNINITIALIZED_DEPENDENT_TEST()
642 int f = CompileRun("f()") in UNINITIALIZED_DEPENDENT_TEST()
648 f = CompileRun("e('f()')") in UNINITIALIZED_DEPENDENT_TEST()
654 v8::Local<v8::String> s = CompileRun("s") in UNINITIALIZED_DEPENDENT_TEST()
659 int a = CompileRun("a.length") in UNINITIALIZED_DEPENDENT_TEST()
665 int b = CompileRun("b.length") in UNINITIALIZED_DEPENDENT_TEST()
701 CompileRun("f()")->Int32Value(isolate1->GetCurrentContext()); in TEST()
703 CHECK(CompileRun("this.g")->IsUndefined()); in TEST()
[all …]
Dtest-debug.cc2496 CompileRun("debug.Debug.setBreakPoint(foo, 2, 0, 'true')"); in TEST()
2750 CompileRun("a=0; b=0; c=0; foo();"); in TEST()
2989 CompileRun("a=0; b=0; bar(); foo();"); in TEST()
4100 CompileRun( in TEST()
4415 CompileRun("debugger;"); in TEST()
4421 CompileRun("debugger;"); in TEST()
4556 CompileRun( in TEST()
4560 CHECK(CompileRun("named_mirror instanceof debug.ObjectMirror") in TEST()
4563 CHECK(CompileRun("indexed_mirror instanceof debug.ObjectMirror") in TEST()
4566 CHECK(CompileRun("both_mirror instanceof debug.ObjectMirror") in TEST()
[all …]
Dtest-accessors.cc238 CompileRun("obj.__proto__ = holder;" in THREADED_TEST()
297 CompileRun( in THREADED_TEST()
605 CHECK(CompileRun("JSON.stringify(obj)") in THREADED_TEST()
632 CompileRun( in THREADED_TEST()
643 CompileRun( in THREADED_TEST()
652 CHECK(v8::Utils::OpenHandle(*CompileRun("getter()"))->IsJSGlobalProxy()); in THREADED_TEST()
653 CHECK(v8::Utils::OpenHandle(*CompileRun("set_value"))->IsJSGlobalProxy()); in THREADED_TEST()
681 CompileRun( in THREADED_TEST()
722 CompileRun("var proto = new Fun();"); in TEST()
723 CompileRun("obj.__proto__ = proto;"); in TEST()
[all …]
Dtest-typedarrays.cc38 CompileRun( in TEST()
51 CompileRun("var a = new Uint8Array([0, 1, 2, 3]);"); in TEST()
59 CompileRun( in TEST()
Dtest-heap-profiler.cc175 CompileRun( in TEST()
210 CompileRun( in TEST()
239 CompileRun( in TEST()
278 CompileRun( in TEST()
303 CompileRun( in TEST()
377 CompileRun( in TEST()
395 CompileRun( in TEST()
468 CompileRun("a = Symbol('mySymbol');\n"); in TEST()
490 CompileRun(program); in CheckSimdSnapshot()
520 CompileRun( in TEST()
[all …]
/external/v8/test/cctest/compiler/
Dtest-run-jscalls.cc60 CompileRun("function foo(y,z) { return this.x + y + z; }"); in TEST()
70 CompileRun("function foo(y,z) { return this.x + y + z; }"); in TEST()
80 CompileRun("function foo(a,b) { return a + b + this.c; }"); in TEST()
81 CompileRun("var c = 23;"); in TEST()
92 CompileRun("function f1(a,b) { return a.val + b; }"); in TEST()
96 CompileRun("function f2(a,b) { return this.val + b; }"); in TEST()
104 CompileRun("function foo(a,b,c) { return a + b + c; }"); in TEST()
114 CompileRun("function foo(a) { return a; }"); in TEST()
124 CompileRun("function foo(a,b) { return { value: a + b + this.c }; }"); in TEST()
125 CompileRun("foo.prototype.c = 23;"); in TEST()
[all …]
Dtest-run-variables.cc61 Handle<Object> r = v8::Utils::OpenHandle(*CompileRun(tests[i + 1])); in RunVariableTests()
69 Handle<Object> r = v8::Utils::OpenHandle(*CompileRun(tests[i + 2])); in RunVariableTests()
118 CompileRun("var self = 'not a function'"); in TEST()
Dtest-run-jsops.cc155 CompileRun("var o = { desc : 'I am a singleton' }"); in TEST()
173 CompileRun("var o = { desc : 'I am a singleton' }"); in TEST()
191 CompileRun("var o = { desc : 'I am a singleton' }"); in TEST()
282 CompileRun("var bound = (function() {}).bind(undefined)"); in TEST()
370 CompileRun("var o = Object.create({}, { x: { value:23 } });"); in TEST()
380 CompileRun("function getX() { return 'x'; }"); in TEST()
381 CompileRun("var o = Object.create({}, { x: { value:23 } });"); in TEST()
392 CompileRun("var g = 23;"); in TEST()
402 CompileRun("delete g"); in TEST()
403 CompileRun("const g = 23"); in TEST()
[all …]
/external/v8/test/cctest/heap/
Dtest-heap.cc1215 CompileRun(source); in UNINITIALIZED_TEST()
1240 CompileRun("foo()"); in UNINITIALIZED_TEST()
1268 CompileRun(source); in TEST()
1289 CompileRun("foo();" in TEST()
1308 CompileRun("foo()"); in TEST()
1333 CompileRun(source); in TEST()
1359 CompileRun("foo();"); in TEST()
1373 CompileRun("%OptimizeFunctionOnNextCall(foo); foo();"); in TEST()
1410 CompileRun(source); in TEST()
1427 CompileRun("foo = 0; bar = 0;"); in TEST()
[all …]

123