Searched refs:CompileRun (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/v8/test/cctest/
H A Dtest-microtask-delivery.cc60 CompileRun(
84 CHECK_EQ(6, CompileRun("ordering.length")->Int32Value());
85 CHECK_EQ(1, CompileRun("ordering[0]")->Int32Value());
86 CHECK_EQ(2, CompileRun("ordering[1]")->Int32Value());
87 CHECK_EQ(3, CompileRun("ordering[2]")->Int32Value());
88 CHECK_EQ(4, CompileRun("ordering[3]")->Int32Value());
89 CHECK_EQ(5, CompileRun("ordering[4]")->Int32Value());
90 CHECK_EQ(6, CompileRun("ordering[5]")->Int32Value());
99 CompileRun(
101 Handle<Value> obj = CompileRun("ob
[all...]
H A Dtest-javascript-arm64.cc91 Local<Value> result = CompileRun("0x271828;");
99 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;");
107 Local<Value> result = CompileRun(
117 Local<Value> result = CompileRun(
139 Local<Value> result = CompileRun(buffer);
156 Local<Value> result = CompileRun(buffer);
197 result = CompileRun("var a = 1234; +a");
200 result = CompileRun("var a = 1234.5; +a");
203 result = CompileRun("var a = '1234'; +a");
206 result = CompileRun("va
[all...]
H A Dtest-unscopables-hidden-prototype.cc14 CompileRun(
40 CHECK_EQ(1, CompileRun(
50 CHECK_EQ(2, CompileRun(
60 CHECK_EQ(0, CompileRun(
71 CHECK_EQ(0, CompileRun(
82 CHECK_EQ(0, CompileRun(
93 CHECK_EQ(0, CompileRun(
H A Dtest-deoptimization.cc123 CompileRun(
140 CompileRun(
163 CompileRun(
181 CompileRun(
205 CompileRun(
231 CompileRun(
257 CompileRun(
286 CompileRun(
301 CompileRun(
325 CompileRun(
[all...]
H A Dtest-object-observe.cc43 CompileRun(
49 Handle<Value> observer = CompileRun("observer");
50 Handle<Value> obj = CompileRun("obj");
51 Handle<Value> notify_fun1 = CompileRun(
59 notify_fun2 = CompileRun(
68 notify_fun3 = CompileRun(
82 CompileRun("fun1(); fun2(); fun3(); Object.deliverChangeRecords(observer)");
84 CHECK_EQ(1, CompileRun("calls")->Int32Value());
85 CHECK_EQ(3, CompileRun("count")->Int32Value());
92 CompileRun(
[all...]
H A Dtest-js-arm64-variables.cc75 Local<Value> result = CompileRun(
87 Local<Value> result = CompileRun(
98 Local<Value> result = CompileRun(
109 Local<Value> result = CompileRun(
123 Local<Value> result = CompileRun(
137 Local<Value> result = CompileRun(
H A Dtest-weaktypedarrays.cc138 CompileRun("var ab1 = new ArrayBuffer(256);"
142 v8::Handle<v8::ArrayBuffer>::Cast(CompileRun("ab1"));
144 v8::Handle<v8::ArrayBuffer>::Cast(CompileRun("ab2"));
146 v8::Handle<v8::ArrayBuffer>::Cast(CompileRun("ab3"));
159 CompileRun(source.start());
170 v8::Handle<v8::ArrayBuffer>::Cast(CompileRun(source.start()));
176 CompileRun("ab1 = null; ab2 = null; ab3 = null;");
274 CompileRun("var ab = new ArrayBuffer(2048);");
291 CompileRun(source.start());
293 v8::Handle<v8::ArrayBuffer>::Cast(CompileRun("a
[all...]
H A Dtest-api.cc199 CompileRun(source.start());
241 CompileRun(
269 Local<Value> test_object = CompileRun(source.start());
301 v8::Handle<Value> value1 = CompileRun("Fun1(4) == '';");
304 v8::Handle<Value> value2 = CompileRun("Fun1(new Cons()) == '[object Cons]';");
307 v8::Handle<Value> value3 = CompileRun("Fun1() == '';");
330 v8::Handle<Value> value4 = CompileRun(
335 v8::Handle<Value> value5 = CompileRun(
339 v8::Handle<Value> value6 = CompileRun(
343 v8::Handle<Value> value7 = CompileRun(
[all...]
H A Dtest-log-stack-tracer.cc134 CompileRun(trace_call_buf.start());
156 Local<Value> result = CompileRun(
204 Local<Value> result = CompileRun(
280 CompileRun("a = 1; b = a + 1;");
282 CompileRun("js_entry_sp();");
284 CompileRun("js_entry_sp_level2();");
H A Dtest-heap.cc1076 CompileRun(source);
1101 CompileRun("foo()");
1129 CompileRun(source);
1150 CompileRun("foo();"
1169 CompileRun("foo()");
1194 CompileRun(source);
1220 CompileRun("foo();");
1234 CompileRun("%OptimizeFunctionOnNextCall(foo); foo();");
1271 CompileRun(source);
1288 CompileRun("fo
[all...]
H A Dtest-platform.cc45 CompileRun(
H A Dtest-declarative-accessors.cc122 CompileRun("var accessible = new Accessible();");
133 value = CompileRun("accessible.x;");
135 value = CompileRun("accessible['x'];");
138 value = CompileRun("accessible.y;");
140 value = CompileRun("accessible['y'];");
142 value = CompileRun("accessible[13];");
144 value = CompileRun("accessible['13'];");
H A Dtest-debug.cc2546 CompileRun("debug.Debug.setBreakPoint(foo, 2, 0, 'true')");
2789 CompileRun("a=0; b=0; c=0; foo();");
3021 CompileRun("a=0; b=0; bar(); foo();");
4415 CompileRun(
4419 CHECK(CompileRun(
4421 CHECK(CompileRun(
4423 CHECK(CompileRun(
4427 CompileRun(
4431 CHECK_EQ(3, CompileRun("named_names.length")->Int32Value());
4432 CHECK_EQ(2, CompileRun("indexed_name
[all...]
H A Dtest-compiler.cc297 CompileRun("function fun() {};"
316 CompileRun("%OptimizeFunctionOnNextCall(f); f(fun1);");
332 CompileRun("function builder() {"
354 CompileRun("morphing_call();");
376 CompileRun("function MakeClosure() {"
440 CompileRun("function f() { a = 12345678 }; f();");
442 CompileRun("function f(x) { a = 12345678 + x}; f(1);");
444 CompileRun("function f(x) { var arguments = 1; x += 12345678}; f(1);");
446 CompileRun("function f(x) { var arguments = 1; x = 12345678}; f(1);");
H A Dtest-heap-profiler.cc179 CompileRun(
217 CompileRun(
247 CompileRun(
288 CompileRun(
314 CompileRun(
389 CompileRun(
408 CompileRun(
479 CompileRun("a = Symbol('mySymbol');\n");
501 CompileRun(
575 CompileRun(
[all...]
H A Dtest-mementos.cc106 v8::Local<v8::Value> res = CompileRun(test_buf.start());
H A Dcctest.h381 static inline v8::Local<v8::Value> CompileRun(const char* source) { function
386 static inline v8::Local<v8::Value> CompileRun(v8::Local<v8::String> source) { function
439 v8::Local<v8::Value> result = CompileRun(code);
447 v8::Local<v8::Value> result = CompileRun(code);
454 v8::Local<v8::Value> result = CompileRun(code);
472 v8::Local<v8::Value> result = CompileRun(code);
478 v8::Local<v8::Value> result = CompileRun(code);
H A Dtest-strings.cc1020 CHECK_EQ(0, CompileRun(source)->Int32Value());
1030 CompileRun("var underlying = 'abcdefghijklmnopqrstuvwxyz';"
1033 CompileRun("var slice = underlying.slice(1);"
1047 *v8::String::Utf8Value(CompileRun("JSON.stringify(slice)")));
1166 CompileRun(init);
1168 result = CompileRun(check);
1175 result = CompileRun(crosscheck);
1195 CompileRun(init);
1196 result = CompileRun(slice);
1203 result = CompileRun(slice_from_slic
[all...]
H A Dtest-thread-termination.cc375 CompileRun("terminate(); while (true) { }");
436 CompileRun(terminate_and_loop);
446 CompileRun(terminate_and_loop);
452 CompileRun(terminate_and_loop);
458 CompileRun("for (var i = 0; i < 10000; i++);");
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-run-jscalls.cc61 CompileRun("function foo(y,z) { return this.x + y + z; }");
71 CompileRun("function foo(y,z) { return this.x + y + z; }");
81 CompileRun("function foo(a,b) { return a + b + this.c; }");
82 CompileRun("var c = 23;");
93 CompileRun("function f1(a,b) { return a.val + b; }");
97 CompileRun("function f2(a,b) { return this.val + b; }");
105 CompileRun("function foo(a,b,c) { return a + b + c; }");
115 CompileRun("function foo(a) { return a; }");
125 CompileRun("function foo(a,b) { return { value: a + b + this.c }; }");
126 CompileRun("fo
[all...]
H A Dtest-run-variables.cc62 Handle<Object> r = v8::Utils::OpenHandle(*CompileRun(tests[i + 1]));
70 Handle<Object> r = v8::Utils::OpenHandle(*CompileRun(tests[i + 2]));
119 CompileRun("var self = 'not a function'");
H A Dtest-pipeline.cc22 *v8::Handle<v8::Function>::Cast(CompileRun(source)));
H A Dtest-run-jsops.cc156 CompileRun("var o = { desc : 'I am a singleton' }");
174 CompileRun("var o = { desc : 'I am a singleton' }");
192 CompileRun("var o = { desc : 'I am a singleton' }");
283 CompileRun("var bound = (function() {}).bind(undefined)");
371 CompileRun("var o = Object.create({}, { x: { value:23 } });");
381 CompileRun("function getX() { return 'x'; }");
382 CompileRun("var o = Object.create({}, { x: { value:23 } });");
393 CompileRun("var g = 23;");
402 CompileRun("delete g");
403 CompileRun("cons
[all...]
H A Dtest-linkage.cc61 *v8::Handle<v8::Function>::Cast(CompileRun(sources[i])));
H A Dfunction-tester.h156 *v8::Handle<v8::Function>::Cast(CompileRun(source)));
161 *v8::Handle<v8::Object>::Cast(CompileRun(source)));

Completed in 241 milliseconds

12