/external/chromium_org/v8/test/cctest/ |
H A D | test-microtask-delivery.cc | 60 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 D | test-javascript-arm64.cc | 91 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 D | test-unscopables-hidden-prototype.cc | 14 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 D | test-deoptimization.cc | 123 CompileRun( 140 CompileRun( 163 CompileRun( 181 CompileRun( 205 CompileRun( 231 CompileRun( 257 CompileRun( 286 CompileRun( 301 CompileRun( 325 CompileRun( [all...] |
H A D | test-object-observe.cc | 43 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 D | test-js-arm64-variables.cc | 75 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 D | test-weaktypedarrays.cc | 138 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 D | test-api.cc | 199 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 D | test-log-stack-tracer.cc | 134 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 D | test-heap.cc | 1076 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 D | test-platform.cc | 45 CompileRun(
|
H A D | test-declarative-accessors.cc | 122 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 D | test-debug.cc | 2546 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 D | test-compiler.cc | 297 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 D | test-heap-profiler.cc | 179 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 D | test-mementos.cc | 106 v8::Local<v8::Value> res = CompileRun(test_buf.start());
|
H A D | cctest.h | 381 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 D | test-strings.cc | 1020 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 D | test-thread-termination.cc | 375 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 D | test-run-jscalls.cc | 61 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 D | test-run-variables.cc | 62 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 D | test-pipeline.cc | 22 *v8::Handle<v8::Function>::Cast(CompileRun(source)));
|
H A D | test-run-jsops.cc | 156 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 D | test-linkage.cc | 61 *v8::Handle<v8::Function>::Cast(CompileRun(sources[i])));
|
H A D | function-tester.h | 156 *v8::Handle<v8::Function>::Cast(CompileRun(source))); 161 *v8::Handle<v8::Object>::Cast(CompileRun(source)));
|