Lines Matching refs:CompileRun
204 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()
1570 v8::Local<Value> syntax_error = CompileRun( in THREADED_TEST()
1573 v8::Local<Value> not_error = CompileRun("{a:42}"); in THREADED_TEST()
1575 v8::Local<Value> not_object = CompileRun("42"); in THREADED_TEST()
1584 CompileRun("function *gen() { yield 1; }\nfunction func() {}"); in THREADED_TEST()
1585 v8::Local<Value> gen = CompileRun("gen"); in THREADED_TEST()
1586 v8::Local<Value> genObj = CompileRun("gen()"); in THREADED_TEST()
1587 v8::Local<Value> object = CompileRun("{a:42}"); in THREADED_TEST()
1588 v8::Local<Value> func = CompileRun("func"); in THREADED_TEST()
1612 CompileRun("var out = 0; (function(){ out = arguments; })(1,2,3); out;"); in THREADED_TEST()
1614 v8::Local<Value> array = CompileRun("[1,2,3]"); in THREADED_TEST()
1616 v8::Local<Value> object = CompileRun("{a:42}"); in THREADED_TEST()
1624 v8::Local<Value> map = CompileRun("new Map()"); in THREADED_TEST()
1625 v8::Local<Value> set = CompileRun("new Set()"); in THREADED_TEST()
1626 v8::Local<Value> weak_map = CompileRun("new WeakMap()"); in THREADED_TEST()
1627 v8::Local<Value> weak_set = CompileRun("new WeakSet()"); in THREADED_TEST()
1649 v8::Local<Value> object = CompileRun("{a:42}"); in THREADED_TEST()
1660 v8::Local<Value> boxed_string = CompileRun("new String(\"test\")"); in THREADED_TEST()
1662 v8::Local<Value> unboxed_string = CompileRun("\"test\""); in THREADED_TEST()
1664 v8::Local<Value> boxed_not_string = CompileRun("new Number(42)"); in THREADED_TEST()
1666 v8::Local<Value> not_object = CompileRun("0"); in THREADED_TEST()
1685 v8::Local<Value> boxed_string = CompileRun("new String(\"test\")"); in TEST()
1696 v8::Local<Value> boxed_number = CompileRun("new Number(42)"); in THREADED_TEST()
1698 v8::Local<Value> unboxed_number = CompileRun("42"); in THREADED_TEST()
1700 v8::Local<Value> boxed_not_number = CompileRun("new Boolean(false)"); in THREADED_TEST()
1718 v8::Local<Value> boxed_boolean = CompileRun("new Boolean(true)"); in THREADED_TEST()
1720 v8::Local<Value> unboxed_boolean = CompileRun("true"); in THREADED_TEST()
1722 v8::Local<Value> boxed_not_boolean = CompileRun("new Number(42)"); in THREADED_TEST()
1994 CHECK(CompileRun("base1.prototype.__proto__ == s.prototype") in THREADED_TEST()
1997 CHECK(CompileRun("base2.prototype.__proto__ == s.prototype") in THREADED_TEST()
2009 CompileRun("s.knurd == undefined")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
2010 CHECK(CompileRun("s.prototype.knurd == undefined") in THREADED_TEST()
2013 CHECK(CompileRun("base1.prototype.knurd == undefined") in THREADED_TEST()
2142 v8::Local<v8::Value> res = CompileRun("var a = []; a;"); in THREADED_TEST()
2146 CompileRun("Object.defineProperty(a, 'length', { writable: false });"); in THREADED_TEST()
2159 v8::Local<Value> result = CompileRun("this.propertyIsEnumerable(undefined)"); in THREADED_TEST()
2234 CompileRun("callFunctionRecursively()"); in THREADED_TEST()
2268 CompileRun("try { with (obj) { otto; } } catch (e) { e; }"); in THREADED_TEST()
2271 CompileRun("try { with (obj) { netto = 4; } } catch (e) { e; }"); in THREADED_TEST()
2465 CompileRun("Object.prototype['v8::IdentityHash'] = 42;\n"); in THREADED_TEST()
2471 CompileRun( in THREADED_TEST()
2493 CompileRun("var m = new Set(); m.add(global);"); in GlobalProxyIdentityHash()
2537 CompileRun("Symbol('foo')").As<v8::Symbol>(); in TEST()
2747 v8::Local<v8::Object> target = CompileRun("({})").As<v8::Object>(); in THREADED_TEST()
2748 v8::Local<v8::Object> handler = CompileRun("({})").As<v8::Object>(); in THREADED_TEST()
2953 CompileRun("var sym2 = Symbol.for('my-symbol')"); in THREADED_TEST()
2969 CompileRun(script.c_str()); in CheckWellKnownSymbol()
3003 CompileRun("var intern = %CreatePrivateSymbol('my-private')"); in THREADED_TEST()
3052 v8::Local<v8::Value> result = CompileRun("ab.byteLength"); in THREADED_TEST()
3055 result = CompileRun( in THREADED_TEST()
3065 result = CompileRun("u8[0] + u8[1]"); in THREADED_TEST()
3076 v8::Local<v8::Value> result = CompileRun( in THREADED_TEST()
3088 result = CompileRun("ab1.byteLength"); in THREADED_TEST()
3090 result = CompileRun("u8_a[0]"); in THREADED_TEST()
3092 result = CompileRun("u8_a[1]"); in THREADED_TEST()
3094 result = CompileRun( in THREADED_TEST()
3099 result = CompileRun("u8_b[1]"); in THREADED_TEST()
3108 result = CompileRun("u8_a[0] + u8_a[1]"); in THREADED_TEST()
3128 v8::Local<v8::Value> result = CompileRun("ab3.byteLength"); in THREADED_TEST()
3131 result = CompileRun( in THREADED_TEST()
3141 result = CompileRun("u8_b[0] + u8_b[1]"); in THREADED_TEST()
3182 CHECK(CompileRun(source.start())->IsTrue()); in CheckIsTypedArrayVarNeutered()
3184 v8::Local<v8::TypedArray>::Cast(CompileRun(name)); in CheckIsTypedArrayVarNeutered()
3256 CompileRun( in THREADED_TEST()
3270 Local<v8::ArrayBuffer>::Cast(CompileRun("ab")); in THREADED_TEST()
3272 v8::Local<v8::DataView> dv = v8::Local<v8::DataView>::Cast(CompileRun("dv")); in THREADED_TEST()
3289 CHECK(CompileRun("dv.byteLength == 0 && dv.byteOffset == 0")->IsTrue()); in THREADED_TEST()
3328 v8::Local<v8::Value> result = CompileRun("ab.byteLength"); in THREADED_TEST()
3331 result = CompileRun( in THREADED_TEST()
3341 result = CompileRun("u8[0] + u8[1]"); in THREADED_TEST()
3353 v8::Local<v8::Value> result = CompileRun( in THREADED_TEST()
3365 result = CompileRun("ab1.byteLength"); in THREADED_TEST()
3367 result = CompileRun("u8_a[0]"); in THREADED_TEST()
3369 result = CompileRun("u8_a[1]"); in THREADED_TEST()
3371 result = CompileRun( in THREADED_TEST()
3376 result = CompileRun("u8_b[1]"); in THREADED_TEST()
3385 result = CompileRun("u8_a[0] + u8_a[1]"); in THREADED_TEST()
3406 v8::Local<v8::Value> result = CompileRun("ab3.byteLength"); in THREADED_TEST()
3409 result = CompileRun( in THREADED_TEST()
3419 result = CompileRun("u8_b[0] + u8_b[1]"); in THREADED_TEST()
3521 CompileRun( in THREADED_TEST()
3550 Local<Value> reext_obj = CompileRun("this.ext"); in THREADED_TEST()
4579 CompileRun( in TEST()
4639 CompileRun("throw 1337;"); in TEST()
4679 CompileRun("throw error;"); in TEST()
4906 Local<Value> foo = CompileRun("this.foo"); in THREADED_TEST()
4908 Local<Value> twelve = CompileRun("this[12]"); in THREADED_TEST()
4910 Local<Value> sixteen = CompileRun("this[16]"); in THREADED_TEST()
4912 Local<Value> thirteen = CompileRun("this[13]"); in THREADED_TEST()
4984 CompileRun("read_only = 9"); in THREADED_TEST()
5006 CompileRun("delete dont_delete"); in THREADED_TEST()
5035 CompileRun("({ toString: function() { throw 'exception';} })"); in THREADED_TEST()
5064 Local<Value> obj = CompileRun("[1, 2, 3]"); in THREADED_TEST()
5106 Local<v8::Array> a0 = CompileRun(fun).As<v8::Array>(); in THREADED_TEST()
5110 Local<v8::Array> a1 = CompileRun(fun2).As<v8::Array>(); in THREADED_TEST()
5118 Local<v8::Array> a2 = CompileRun(fun3).As<v8::Array>(); in THREADED_TEST()
5130 Local<v8::Array> a3 = CompileRun(fun4).As<v8::Array>(); in THREADED_TEST()
5146 Local<v8::Array> a4 = CompileRun(fun5).As<v8::Array>(); in THREADED_TEST()
5171 CompileRun( in THREADED_TEST()
5314 CompileRun( in THREADED_TEST()
5398 CompileRun("var obj = Math.pow(2,32) * 1237;"); in THREADED_TEST()
5409 CompileRun("var obj = -1234567890123;"); in THREADED_TEST()
5417 CompileRun("var obj = 42;"); in THREADED_TEST()
5423 CompileRun("var obj = -37;"); in THREADED_TEST()
5430 CompileRun("var obj = 0x81234567;"); in THREADED_TEST()
5437 CompileRun("var obj = 42.3;"); in THREADED_TEST()
5443 CompileRun("var obj = -5726623061.75;"); in THREADED_TEST()
5457 CompileRun("var obj = Math.pow(2,32) * 1237;"); in THREADED_TEST()
5463 CompileRun("var obj = -1234567890123;"); in THREADED_TEST()
5468 CompileRun("var obj = 42;"); in THREADED_TEST()
5473 CompileRun("var obj = -37;"); in THREADED_TEST()
5478 CompileRun("var obj = 0x81234567;"); in THREADED_TEST()
5483 CompileRun("var obj = 42.3;"); in THREADED_TEST()
5488 CompileRun("var obj = -5726623061.75;"); in THREADED_TEST()
5493 CompileRun("var obj = 0.0;"); in THREADED_TEST()
5498 CompileRun("var obj = -0.0;"); in THREADED_TEST()
5517 CompileRun( in THREADED_TEST()
5573 CompileRun(args[0] in CCatcher()
5588 CompileRun( in THREADED_TEST()
5610 CompileRun("ThrowFromC();"); in THREADED_TEST()
5628 Local<Value> result = CompileRun( in TEST()
5654 CompileRun( in TEST()
5685 CompileRun( in TEST()
5694 CompileRun( in TEST()
5710 CompileRun( in TEST()
5737 CompileRun( in TEST()
5762 CompileRun("ThrowFromC();"); in TEST()
5779 Local<Value> result = CompileRun("ThrowFromC();"); in TEST()
5794 Local<Value> result = CompileRun("function foo() { foo(); } foo();"); in TEST()
5811 Local<Value> result = CompileRun("ThrowFromC(); throw 'panama';"); in THREADED_TEST()
5877 CompileRun( in THREADED_TEST()
5917 CompileRun( in TEST()
5983 CompileRun("function Run(obj) {" in THREADED_TEST()
6024 CompileRun("throw 10"); in THREADED_TEST()
6029 CompileRun("throw 0"); in THREADED_TEST()
6040 CompileRun("var o = {}; with (o) { throw 42; }"); in THREADED_TEST()
6050 CompileRun("function f(k) { try { this[k]; } finally { return 0; } };"); in THREADED_TEST()
6051 CompileRun("f({toString: function() { throw 42; }});"); in THREADED_TEST()
6073 CompileRun( in THREADED_TEST()
6104 CompileRun("throw 'E2';"); in TryCatchNested2Helper()
6193 CompileRun("TryCatchNativeHelper();"); in TEST()
6218 CompileRun("TryCatchNativeResetHelper();"); in TEST()
6429 CompileRun("var obj2 = {};"); in THREADED_TEST()
6431 CHECK(CompileRun("obj1.x")->IsUndefined()); in THREADED_TEST()
6432 CHECK(CompileRun("obj2.x")->IsUndefined()); in THREADED_TEST()
6440 CHECK(CompileRun("obj2.x")->IsUndefined()); in THREADED_TEST()
6453 CompileRun( in THREADED_TEST()
6460 CompileRun( in THREADED_TEST()
6486 CompileRun( in THREADED_TEST()
6489 CompileRun( in THREADED_TEST()
6522 CompileRun("var obj2 = {};"); in THREADED_TEST()
6550 CompileRun( in THREADED_TEST()
6560 CompileRun( in THREADED_TEST()
6593 CompileRun("var obj2 = {};"); in THREADED_TEST()
6978 CompileRun("JSNI_Log('LOG')"); in THREADED_TEST()
6995 v8::Local<Value> result = CompileRun("Foo()"); in TEST()
7018 CompileRun( in TEST()
7035 v8::Local<Value> result = CompileRun("1+3"); in TEST()
7071 v8::Local<Value> result = CompileRun("Ret54321()"); in TEST()
7108 v8::Local<Value> result = CompileRun("UseEval1()"); in TEST()
7111 result = CompileRun("UseEval2()"); in TEST()
7142 v8::Local<Value> result = CompileRun("UseWith1()"); in TEST()
7145 result = CompileRun("UseWith2()"); in TEST()
7158 v8::Local<Value> result = CompileRun("Foo()"); in TEST()
7214 v8::Local<Value> result = CompileRun(kNativeCallTest); in TEST()
7249 v8::Local<Value> result = CompileRun("foo(42);"); in TEST()
7391 ->Equals(context.local(), CompileRun("Foo(0)")) in THREADED_TEST()
7394 ->Equals(context.local(), CompileRun("Foo(1)")) in THREADED_TEST()
7397 ->Equals(context.local(), CompileRun("Foo(2)")) in THREADED_TEST()
7412 ->Equals(context.local(), CompileRun("(new A()).data")) in THREADED_TEST()
7415 ->Equals(context.local(), CompileRun("(new B()).data")) in THREADED_TEST()
7418 ->Equals(context.local(), CompileRun("(new C()).data")) in THREADED_TEST()
7468 CompileRun("throw Error()"); in THREADED_TEST()
7513 v8::Local<Value> big_array = CompileRun("new Array(5000)"); in IndependentWeakHandle()
7853 CompileRun( in RunHolderTest()
7944 v8::Local<Value> value = CompileRun("o.__proto__ === o2.__proto__"); in THREADED_TEST()
8018 CompileRun( in THREADED_TEST()
8023 CompileRun( in THREADED_TEST()
8330 CompileRun( in THREADED_TEST()
8397 CompileRun( in THREADED_TEST()
8621 CompileRun( in THREADED_TEST()
8656 CompileRun( in THREADED_TEST()
8689 CompileRun( in THREADED_TEST()
8729 CompileRun("holder.y = 11; holder.y = 12; holder.y"); in THREADED_TEST()
8776 CompileRun( in TEST()
8809 CompileRun( in TEST()
8885 CompileRun("try { throw ''; } catch (e) {}"); in TEST()
8887 CompileRun("try { throw ''; } finally {}"); in TEST()
8890 CompileRun( in TEST()
8895 CompileRun( in TEST()
8905 CompileRun(args[0] in CEvaluate()
8919 CompileRun("try {" in TEST()
8928 CompileRun("try {" in TEST()
9026 CompileRun("spy=function(){return spy;}"); in THREADED_TEST()
9032 CompileRun("spy2=function(){return new this.Array();}"); in THREADED_TEST()
9164 CompileRun("obj[0] = new String(1002);"); in TEST()
9168 CHECK(CompileRun("obj[0]") in TEST()
9198 CompileRun("delete env1.prop"); in THREADED_TEST()
9230 Local<Value> result = CompileRun(test); in THREADED_TEST()
9238 Local<Value> result = CompileRun(test); in THREADED_TEST()
9267 Local<Value> result = CompileRun( in THREADED_TEST()
9306 Local<Value> result = CompileRun( in THREADED_TEST()
9343 CompileRun("function getProp() {return prop;}"); in TEST()
9420 Local<Value> result = CompileRun("other.p"); in TEST()
9430 result = CompileRun("other.p"); in TEST()
9450 result = CompileRun("other.p"); in TEST()
9460 result = CompileRun("other.p"); in TEST()
9497 CompileRun( in TEST()
9502 ->Set(env1.local(), v8_str("bound_x"), CompileRun("bound_x")) in TEST()
9505 ->Set(env1.local(), v8_str("get_x"), CompileRun("get_x")) in TEST()
9508 ->Set(env1.local(), v8_str("get_x_w"), CompileRun("get_x_w")) in TEST()
9512 CompileRun("Object.getOwnPropertyDescriptor(this, 'this_x').get")) in TEST()
9520 result = CompileRun("bound_x()"); in TEST()
9522 result = CompileRun("get_x()"); in TEST()
9524 result = CompileRun("get_x_w()"); in TEST()
9526 result = CompileRun("this_x()"); in TEST()
9537 result = CompileRun( in TEST()
9564 result = CompileRun( in TEST()
9594 result = CompileRun( in TEST()
9706 CompileRun( in TEST()
9720 CompileRun( in TEST()
9739 CompileRun("other.blocked_prop = 1"); in TEST()
9741 CHECK(CompileRun("other.blocked_prop").IsEmpty()); in TEST()
9742 CHECK(CompileRun("Object.getOwnPropertyDescriptor(other, 'blocked_prop')") in TEST()
9745 CompileRun("propertyIsEnumerable.call(other, 'blocked_prop')").IsEmpty()); in TEST()
9748 CHECK(CompileRun("other[239] = 1").IsEmpty()); in TEST()
9750 CHECK(CompileRun("other[239]").IsEmpty()); in TEST()
9751 CHECK(CompileRun("Object.getOwnPropertyDescriptor(other, '239')").IsEmpty()); in TEST()
9752 CHECK(CompileRun("propertyIsEnumerable.call(other, '239')").IsEmpty()); in TEST()
9760 CHECK(CompileRun("other.js_accessor_p = 2").IsEmpty()); in TEST()
9762 CHECK(CompileRun("other.js_accessor_p").IsEmpty()); in TEST()
9763 CHECK(CompileRun("Object.getOwnPropertyDescriptor(other, 'js_accessor_p')") in TEST()
9779 CHECK(CompileRun("other[42] = 2").IsEmpty()); in TEST()
9781 CHECK(CompileRun("other[42]").IsEmpty()); in TEST()
9782 CHECK(CompileRun("Object.getOwnPropertyDescriptor(other, '42')").IsEmpty()); in TEST()
9796 value = CompileRun("other.accessible_prop = 3"); in TEST()
9801 value = CompileRun("other.accessible_prop"); in TEST()
9805 value = CompileRun( in TEST()
9810 value = CompileRun("propertyIsEnumerable.call(other, 'accessible_prop')"); in TEST()
9816 value = CompileRun( in TEST()
9840 CompileRun("Object.preventExtensions(checked_object)"); in TEST()
9843 CHECK(CompileRun("Object.preventExtensions(checked_object)").IsEmpty()); in TEST()
9881 CHECK(CompileRun("Object.keys(other).length == 1") in TEST()
9884 CHECK(CompileRun("Object.keys(other)[0] == 'accessible_prop'") in TEST()
9887 CHECK(CompileRun("other.blocked_prop").IsEmpty()); in TEST()
9890 CompileRun("Object.defineProperty(\n" in TEST()
9892 CHECK(CompileRun("other.blocked_prop").IsEmpty()); in TEST()
9893 CHECK(CompileRun("Object.getOwnPropertyDescriptor(other, 'blocked_prop')") in TEST()
9898 CompileRun("Object.preventExtensions(other)"); in TEST()
9902 CompileRun("Object.freeze(other)"); in TEST()
9905 CompileRun("Object.seal(other)"); in TEST()
9911 CompileRun("other.accessible_prop = 42"); in TEST()
9916 CompileRun("Object.defineProperty(other, 'accessible_prop', {value: 43})") in TEST()
9918 CHECK(CompileRun("other.accessible_prop == 42")->IsTrue()); in TEST()
9967 value = CompileRun( in THREADED_TEST()
9972 value = CompileRun( in THREADED_TEST()
9995 CompileRun( in TEST()
10106 CompileRun("function testProp(obj) {" in TEST()
10111 value = CompileRun("testProp(obj)"); in TEST()
10117 CompileRun("var p = 'prop';" in TEST()
10125 value = CompileRun("testKeyed(obj)"); in TEST()
10130 CompileRun("testKeyed({ a: 0 })"); in TEST()
10131 CompileRun("testKeyed({ b: 0 })"); in TEST()
10132 value = CompileRun("testKeyed(obj)"); in TEST()
10140 CompileRun("function testIndexed(obj) {" in TEST()
10145 value = CompileRun("testIndexed(obj)"); in TEST()
10150 CompileRun("testIndexed(new Array(1))"); in TEST()
10152 value = CompileRun("testIndexed(obj)"); in TEST()
10160 CompileRun("obj.f = function() {}"); in TEST()
10161 CompileRun("function testCallNormal(obj) {" in TEST()
10164 CompileRun("testCallNormal(obj)"); in TEST()
10169 value = CompileRun("delete obj.prop"); in TEST()
10172 CompileRun("var o = { x: 0 }; delete o.x; testProp(o);"); in TEST()
10174 value = CompileRun("testProp(obj);"); in TEST()
10180 CompileRun("o.f = function() {}; testCallNormal(o)"); in TEST()
10183 value = CompileRun("testCallNormal(obj)"); in TEST()
10219 Local<Value> value = CompileRun("i.x"); in THREADED_TEST()
10222 value = CompileRun("i.f()"); in THREADED_TEST()
10270 Local<Value> value = CompileRun("x"); in THREADED_TEST()
10272 value = CompileRun("f()"); in THREADED_TEST()
10274 value = CompileRun(script); in THREADED_TEST()
10281 Local<Value> value = CompileRun("x"); in THREADED_TEST()
10283 value = CompileRun("f()"); in THREADED_TEST()
10285 value = CompileRun(script); in THREADED_TEST()
10320 foo = CompileRun(script); in THREADED_TEST()
10327 CompileRun("foo()"); in THREADED_TEST()
10402 CompileRun("this.propertyIsEnumerable(0)"); in THREADED_TEST()
10406 value = CompileRun("x"); in THREADED_TEST()
10409 value = CompileRun("f()"); in THREADED_TEST()
10412 CompileRun("y = 43"); in THREADED_TEST()
10414 value = CompileRun("y"); in THREADED_TEST()
10768 CompileRun("var names = %GetOwnPropertyKeys(obj, 0);"); in THREADED_TEST()
10832 CompileRun("var names = %GetOwnPropertyKeys(obj, 0);"); in THREADED_TEST()
10859 CompileRun( in THREADED_TEST()
10868 CompileRun("func1.prototype.x")->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10869 CHECK_EQ(42, CompileRun("func1.prototype = {}; func1.prototype.x") in THREADED_TEST()
10881 CompileRun( in THREADED_TEST()
10890 CompileRun("func2.prototype.x")->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10918 CHECK_EQ(42, CompileRun("function f() { return 42; }; f()") in THREADED_TEST()
10933 CHECK(!CompileRun("'prototype' in fun") in THREADED_TEST()
10938 CompileRun("new fun()"); in THREADED_TEST()
10951 CompileRun( in THREADED_TEST()
10987 Local<Value> value = CompileRun("(new Fun()).constructor === Fun"); in THREADED_TEST()
11039 value = CompileRun("(function() { var o = new obj(28); return o.a; })()"); in THREADED_TEST()
11056 CompileRun("(function() { var o = new obj('tipli'); return o.a; })()"); in THREADED_TEST()
11076 value = CompileRun("(function() { var o = new obj(true); return o.a; })()"); in THREADED_TEST()
11124 value = CompileRun("new obj2(28)"); in THREADED_TEST()
11153 value = CompileRun("new obj3(22)"); in THREADED_TEST()
11184 value = CompileRun("new obj4(28)"); in THREADED_TEST()
11206 value = CompileRun("new obj5(28)"); in THREADED_TEST()
11228 Local<Value> value = CompileRun( in THREADED_TEST()
11398 v8::Local<v8::Value> fun = CompileRun( in THREADED_TEST()
11411 v8::Local<v8::Value> x_value = CompileRun("fun('x')"); in THREADED_TEST()
11415 x_value = CompileRun("fun('x')"); in THREADED_TEST()
11486 value = CompileRun("obj(42)"); in THREADED_TEST()
11490 value = CompileRun("(function(o){return o(49)})(obj)"); in THREADED_TEST()
11495 value = CompileRun("[obj]['0'](45)"); in THREADED_TEST()
11499 value = CompileRun( in THREADED_TEST()
11508 value = CompileRun(apply_99); in THREADED_TEST()
11513 value = CompileRun(call_17); in THREADED_TEST()
11519 value = CompileRun("new obj(43)"); in THREADED_TEST()
11548 value = CompileRun("obj2(28)"); in THREADED_TEST()
11557 value = CompileRun("obj2(28)"); in THREADED_TEST()
11584 value = CompileRun("obj3(22)"); in THREADED_TEST()
11632 CompileRun( in THREADED_TEST()
11899 CompileRun( in GenerateSomeGarbage()
11933 CompileRun( in THREADED_TEST()
11964 v8::Local<Value> result = CompileRun( in THREADED_TEST()
12008 v8::Local<v8::Value> result = CompileRun( in LoadICFastApi_DirectCall_GCMoveStub()
12043 v8::Local<Value> result = CompileRun( in THREADED_TEST()
12076 CompileRun( in THREADED_PROFILED_TEST()
12114 CompileRun( in THREADED_PROFILED_TEST()
12155 CompileRun( in THREADED_PROFILED_TEST()
12206 CompileRun( in THREADED_PROFILED_TEST()
12258 CompileRun( in THREADED_PROFILED_TEST()
12313 CompileRun( in THREADED_PROFILED_TEST()
12362 CompileRun( in THREADED_PROFILED_TEST()
12397 CompileRun( in THREADED_PROFILED_TEST()
12435 CompileRun( in THREADED_PROFILED_TEST()
12483 CompileRun( in THREADED_PROFILED_TEST()
12534 CompileRun( in THREADED_PROFILED_TEST()
12586 Local<Object> with_js_getter = CompileRun( in THREADED_TEST()
12653 CompileRun("throw 'from JS';"); in ThrowingCallbackWithTryCatch()
12669 if (--call_depth) CompileRun("throw 'ThrowInJS';"); in ThrowFromJS()
12885 CompileRun( in TEST()
12911 Local<Value> object = CompileRun("new Object()"); in TEST()
12923 object = CompileRun("new " #type "()"); \ in TEST()
12955 CompileRun("(function fn() {})").As<v8::Function>(); in TEST()
12962 object = CompileRun("new " #type "()"); \ in TEST()
13022 obj = CompileRun("obj = {}; obj[Symbol.toStringTag] = 'Test'; obj"); in TEST()
13034 obj = CompileRun( in TEST()
13045 obj = CompileRun( in TEST()
13323 v8::Local<Value> value = CompileRun(code); in ThrowInJS()
13344 v8::Local<Value> value = CompileRun(code); in ThrowInJSNoCatch()
13715 CompileRun(source); in THREADED_TEST()
13719 CompileRun(source); in THREADED_TEST()
14002 CompileRun(script); in RunLoopInNewEnv()
14011 v8::Local<v8::Value> value = CompileRun("bar();"); in RunLoopInNewEnv()
14016 value = CompileRun("%OptimizeFunctionOnNextCall(foo);" in RunLoopInNewEnv()
14267 CompileRun(script); in UNINITIALIZED_TEST()
14311 CompileRun(script); in UNINITIALIZED_TEST()
14398 v8::Local<v8::Value> result = CompileRun( in TEST()
14523 v8::Local<v8::Value> value = CompileRun("obj.asdf.name"); in THREADED_TEST()
14573 v8::Local<v8::Value> obj = CompileRun( in THREADED_TEST()
14633 v8::Local<v8::Value> obj = CompileRun( in THREADED_TEST()
14691 Local<Value> value_1 = CompileRun("obj_1.a"); in THREADED_TEST()
14700 Local<Value> value_2 = CompileRun("obj_2.a"); in THREADED_TEST()
14749 CompileRun("for (var j = 0; j < 10; j++) new RegExp('');"); in THREADED_TEST()
14758 CompileRun("for (var j = 0; j < 10; j++) RegExp('')"); in THREADED_TEST()
14779 CompileRun("Object.prototype.x = 42; function C() {};"); in THREADED_TEST()
14788 Local<Value> value = CompileRun("var instance = new other.C(); instance.x"); in THREADED_TEST()
14808 Local<Value> val = CompileRun(sample); in TEST()
14929 CompileRun( in THREADED_TEST()
14955 CompileRun( in THREADED_TEST()
15080 CompileRun("/((a*)*)*b/.exec(a)"); in TEST()
15110 CompileRun("function f() { x = 42; return x; }; f()"); in TEST()
15113 res = CompileRun("function f() { eval('1'); y = 43; return y; }; f()"); in TEST()
15116 res = CompileRun("function f() { with (this) { y = 44 }; return y; }; f()"); in TEST()
15126 CompileRun( in TEST()
15201 CompileRun("Object.freeze(a);"); in TEST()
15229 CompileRun( in TEST()
15320 CompileRun("Object.freeze(a);"); in TEST()
15361 CompileRun("__proto__.x = 42"); in THREADED_TEST()
15362 v8::Local<v8::Value> result = CompileRun("var x = 43; x"); in THREADED_TEST()
15412 v8::Local<v8::Value> result = CompileRun("ext_array.field"); in ObjectWithExternalArrayTestHelper()
15414 result = CompileRun("ext_array[1]"); in ObjectWithExternalArrayTestHelper()
15418 result = CompileRun("for (var i = 0; i < 8; i++) {" in ObjectWithExternalArrayTestHelper()
15429 result = CompileRun("var sum = 0;" in ObjectWithExternalArrayTestHelper()
15438 result = CompileRun("for (var i = 8; --i >= 0; ) {" in ObjectWithExternalArrayTestHelper()
15449 result = CompileRun("var sum = 0;" in ObjectWithExternalArrayTestHelper()
15457 result = CompileRun("for (var i = 0; i < 16; i+=2) {" in ObjectWithExternalArrayTestHelper()
15468 result = CompileRun("for (var i = 14; i >= 0; i-=2) {" in ObjectWithExternalArrayTestHelper()
15494 result = CompileRun(test_buf.start()); in ObjectWithExternalArrayTestHelper()
15500 result = CompileRun(test_buf.start()); in ObjectWithExternalArrayTestHelper()
15504 result = CompileRun("var tmp_array = ext_array;" in ObjectWithExternalArrayTestHelper()
15528 result = CompileRun(test_buf.start()); in ObjectWithExternalArrayTestHelper()
15541 result = CompileRun(test_buf.start()); in ObjectWithExternalArrayTestHelper()
15545 result = CompileRun("for (var i = 0; i < 8; i++) {" in ObjectWithExternalArrayTestHelper()
15558 result = CompileRun("for (var i = 0; i < 8; i++) {" in ObjectWithExternalArrayTestHelper()
15572 result = CompileRun("for (var i = 0; i < 8; i++) {" in ObjectWithExternalArrayTestHelper()
15582 result = CompileRun("for (var i = 0; i < 8; i++) {" in ObjectWithExternalArrayTestHelper()
15594 result = CompileRun("for (var i = 0; i < 8; i++) {" in ObjectWithExternalArrayTestHelper()
15633 result = CompileRun(test_buf.start()); in ObjectWithExternalArrayTestHelper()
15644 result = CompileRun("function ee_op_test_complex_func(sum) {" in ObjectWithExternalArrayTestHelper()
15659 result = CompileRun("function ee_op_test_count_func(sum) {" in ObjectWithExternalArrayTestHelper()
15673 result = CompileRun("ext_array[3] = 33;" in ObjectWithExternalArrayTestHelper()
15678 result = CompileRun("ext_array[0] = 10; ext_array[1] = 11;" in ObjectWithExternalArrayTestHelper()
15685 result = CompileRun("var js_array = new Array(40);" in ObjectWithExternalArrayTestHelper()
15694 result = CompileRun("ext_array[1] = 23;" in ObjectWithExternalArrayTestHelper()
15709 result = CompileRun("ext_array[1] = 23;"); in ObjectWithExternalArrayTestHelper()
16060 Local<Value> result = CompileRun( \
16420 CompileRun( in TEST()
16428 CompileRun("throw 'exception';"); in TEST()
16521 CompileRun(source); in TEST()
16558 CompileRun(source); in TEST()
16585 CompileRun(source); in TEST()
16611 CompileRun(source); in TEST()
16707 CompileRun( in TEST()
16719 CompileRun("var p1 = p0.then(function(){});"); in TEST()
16726 CompileRun("reject('ppp');"); in TEST()
16737 CompileRun("reject();"); in TEST()
16744 CompileRun("var p2 = p1.then(function(){});"); in TEST()
16759 CompileRun( in TEST()
16770 CompileRun("var q1 = q0.catch(function() {});"); in TEST()
16777 CompileRun("reject('qq')"); in TEST()
16786 CompileRun( in TEST()
16807 CompileRun( in TEST()
16826 CompileRun( in TEST()
16844 CompileRun("reject('rrr')"); in TEST()
16856 CompileRun("var r4 = r2.catch(function() {});"); in TEST()
16869 CompileRun("var r5 = r4.then(function() {}, function() {});"); in TEST()
16882 CompileRun( in TEST()
16899 CompileRun("reject('sss')"); in TEST()
17062 CHECK(CompileRun(code.start())->IsUndefined()); in TEST()
17064 CHECK(CompileRun(code.start())->IsUndefined()); in TEST()
17234 CompileRun(source); in TEST()
17257 CompileRun(source); in TEST()
17355 CompileRun("get_stack_limit();"); in TEST()
17379 CompileRun("get_stack_limit();"); in TEST()
17443 CompileRun("'Romeo Montague ' + 'Juliet Capulet'") in TEST()
17467 CompileRun("'Romeo Montague ' + 'Juliet Capulet'") in TEST()
17565 CompileRun("var ring = 'One string to test them all';"); in TEST()
17570 CompileRun("ring")->ToString(env.local()).ToLocalChecked(); in TEST()
17588 CompileRun("var ring = 'One string to test them all';"); in TEST()
17592 v8::Local<v8::String> ring = CompileRun("ring").As<v8::String>(); in TEST()
17754 CompileRun( in THREADED_TEST()
17795 CompileRun(source_simple); in TEST()
17801 CompileRun(source_simple); in TEST()
17817 CompileRun(source_eval); in TEST()
17823 CompileRun(source_eval); in TEST()
17840 CompileRun(source_exception); in TEST()
17850 CompileRun(source_exception); in TEST()
18116 f = v8::Local<v8::Function>::Cast(CompileRun("Math.floor")); in THREADED_TEST()
18118 f = v8::Local<v8::Function>::Cast(CompileRun("Object")); in THREADED_TEST()
18120 f = v8::Local<v8::Function>::Cast(CompileRun("Object.__defineSetter__")); in THREADED_TEST()
18122 f = v8::Local<v8::Function>::Cast(CompileRun("Array.prototype.toString")); in THREADED_TEST()
18124 f = v8::Local<v8::Function>::Cast(CompileRun("function a() {}; a;")); in THREADED_TEST()
18239 CompileRun("function C1() {" in TEST()
18310 CompileRun("function C1() {" in THREADED_TEST()
18370 CompileRun(source); in TEST()
18398 CompileRun(source); in TEST()
18589 Local<Value> result = CompileRun(init_code); in THREADED_TEST()
18591 Local<Value> indexof = CompileRun("str2.indexOf('els')"); in THREADED_TEST()
18592 Local<Value> lastindexof = CompileRun("str2.lastIndexOf('dab')"); in THREADED_TEST()
18631 Local<Value> reresult = CompileRun("str2.match(/abel/g).length;"); in THREADED_TEST()
18635 reresult = CompileRun("str2.match(/abe./g).length;"); in THREADED_TEST()
18638 reresult = CompileRun("str2.search(/bel/g);"); in THREADED_TEST()
18641 reresult = CompileRun("str2.search(/be./g);"); in THREADED_TEST()
18648 reresult = CompileRun("/bel/g.exec(str2);"); in THREADED_TEST()
18651 reresult = CompileRun("/be./g.exec(str2);"); in THREADED_TEST()
18664 reresult = CompileRun("str2.charCodeAt(2);"); in THREADED_TEST()
18791 CHECK(CompileRun("other.x").IsEmpty()); in TEST()
18796 CHECK(CompileRun("other[0]").IsEmpty()); in TEST()
18801 CHECK(CompileRun("other.x = new Object()").IsEmpty()); in TEST()
18806 CHECK(CompileRun("other[0] = new Object()").IsEmpty()); in TEST()
18811 CHECK(CompileRun("\'x\' in other").IsEmpty()); in TEST()
18816 CHECK(CompileRun("0 in other").IsEmpty()); in TEST()
18821 CHECK(CompileRun("delete other.x").IsEmpty()); in TEST()
18838 CHECK(CompileRun( in TEST()
18845 CHECK(CompileRun( in TEST()
18852 CHECK(CompileRun( in TEST()
18936 CompileRun(script); in BreakArrayGuarantees()
18982 CompileRun("var foo = 'isolate 1';"); in TEST()
18999 CompileRun("var foo = 'isolate 2';"); in TEST()
19101 Local<Value> value = CompileRun(code.start()); in CalcFibonacci()
19160 Local<Value> v = CompileRun("2"); in TEST()
19169 Local<Value> v = CompileRun("22"); in TEST()
19291 CompileRun("String.prototype.charAt = function() { return \"not a\"; }"); in TEST()
19314 CompileRun("Number.prototype.toString = function() { return \"not 42\"; }"); in TEST()
19337 CompileRun("Boolean.prototype.toString = function() { return \"\"; }"); in TEST()
19352 CompileRun("var cell = \"first\";"); in TEST()
19354 CompileRun(function_code); in TEST()
19363 CompileRun("cell = \"second\";"); in TEST()
19364 CompileRun(function_code); in TEST()
19375 CompileRun("cell = \"new_second\";"); in TEST()
19503 re = CompileRun("/quux/").As<v8::RegExp>(); in TEST()
19508 re = CompileRun("/quux/gm").As<v8::RegExp>(); in TEST()
19516 CompileRun("RegExp = function() {}"); in TEST()
19541 v8::Local<v8::Value> value(CompileRun("re.property")); in TEST()
19603 CompileRun("var result = []; for (var k in o) result.push(k); result")); in TEST()
19617 CompileRun( in TEST()
19632 CHECK(CompileRun("Object.prototype") in InstallContextId()
19745 function = CompileRun("function foo() {}; foo").As<Object>(); in THREADED_TEST()
19765 target_function = CompileRun("function foo() {}; foo").As<Function>(); in THREADED_TEST()
19774 bound_function1 = CompileRun("foo.bind(1)").As<Function>(); in THREADED_TEST()
19776 CompileRun("Function.prototype.bind.call(foo, 2)").As<Function>(); in THREADED_TEST()
19840 Local<Value> value = CompileRun( in TEST()
19924 CompileRun("var s = new String('foobar'); obj.__proto__ = s;"); in TEST()
19926 CHECK(CompileRun("42 in obj")->BooleanValue(context.local()).FromJust()); in TEST()
19927 CHECK(CompileRun("'42' in obj")->BooleanValue(context.local()).FromJust()); in TEST()
19929 CHECK(CompileRun("0 in obj")->BooleanValue(context.local()).FromJust()); in TEST()
19930 CHECK(CompileRun("'0' in obj")->BooleanValue(context.local()).FromJust()); in TEST()
19932 CHECK(!CompileRun("32 in obj")->BooleanValue(context.local()).FromJust()); in TEST()
19933 CHECK(!CompileRun("'32' in obj")->BooleanValue(context.local()).FromJust()); in TEST()
19939 Local<Value> result = CompileRun("eval('42')"); in CheckCodeGenerationAllowed()
19941 result = CompileRun("(function(e) { return e('42'); })(eval)"); in CheckCodeGenerationAllowed()
19943 result = CompileRun("var f = new Function('return 42'); f()"); in CheckCodeGenerationAllowed()
19951 Local<Value> result = CompileRun("eval('42')"); in CheckCodeGenerationDisallowed()
19956 result = CompileRun("(function(e) { return e('42'); })(eval)"); in CheckCodeGenerationDisallowed()
19961 result = CompileRun("var f = new Function('return 42'); f()"); in CheckCodeGenerationDisallowed()
20022 Local<Value> result = CompileRun("eval('42')"); in TEST()
20046 CompileRun("f.call(2)"); in THREADED_TEST()
20108 CompileRun( in THREADED_TEST()
20185 Local<Value> result1 = CompileRun("Object.getPrototypeOf(simple)"); in THREADED_TEST()
20189 Local<Value> result2 = CompileRun("Object.getPrototypeOf(protected)"); in THREADED_TEST()
20192 Local<Value> result3 = CompileRun("Object.getPrototypeOf(global)"); in THREADED_TEST()
20196 Local<Value> result4 = CompileRun("Object.getPrototypeOf(proxy)"); in THREADED_TEST()
20199 Local<Value> result5 = CompileRun("Object.getPrototypeOf(hidden)"); in THREADED_TEST()
20211 Local<Value> result = CompileRun(code); in TestReceiver()
20237 CompileRun("function func() { return { 0: this.id, " in THREADED_TEST()
20261 CompileRun("function ownfunc() { return { 0: this.id, " in THREADED_TEST()
20291 o->Equals(context.local(), CompileRun("'abcbd'.replace(/b/,ownfunc)[1]")) in THREADED_TEST()
20294 o->Equals(context.local(), CompileRun("'abcbd'.replace(/b/g,ownfunc)[1]")) in THREADED_TEST()
20297 o->Equals(context.local(), CompileRun("'abcbd'.replace(/b/g,ownfunc)[3]")) in THREADED_TEST()
20320 CHECK(i->Equals(context.local(), CompileRun("'abcbd'.replace(/b/,func)[1]")) in THREADED_TEST()
20322 CHECK(i->Equals(context.local(), CompileRun("'abcbd'.replace(/b/g,func)[1]")) in THREADED_TEST()
20324 CHECK(i->Equals(context.local(), CompileRun("'abcbd'.replace(/b/g,func)[3]")) in THREADED_TEST()
20358 CompileRun(script_vector.start()); in RecursiveCall()
20406 CompileRun("1+1;"); in CallCompletedCallbackNoException()
20412 CompileRun("throw 'second exception';"); in CallCompletedCallbackException()
20420 CompileRun("throw 'exception';"); in TEST()
20428 CompileRun("throw 'first exception';"); in TEST()
20434 CompileRun("ext1Calls++;"); in MicrotaskOne()
20440 CompileRun("ext2Calls++;"); in MicrotaskTwo()
20455 CompileRun( in TEST()
20458 CompileRun("1+1;"); in TEST()
20459 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20460 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20464 CompileRun("1+1;"); in TEST()
20465 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20466 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20472 CompileRun("1+1;"); in TEST()
20473 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20474 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20478 CompileRun("1+1;"); in TEST()
20479 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20480 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20482 CompileRun("1+1;"); in TEST()
20483 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20484 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20488 CompileRun("1+1;"); in TEST()
20490 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20491 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20499 CompileRun("1+1;"); in TEST()
20501 CHECK_EQ(3, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20502 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20510 CompileRun("exception1Calls++;"); in MicrotaskExceptionOne()
20519 CompileRun("exception2Calls++;"); in MicrotaskExceptionTwo()
20529 CompileRun( in TEST()
20537 CompileRun("1+1;"); in TEST()
20540 CompileRun("exception1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20542 CompileRun("exception2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20549 CompileRun( in TEST()
20552 CompileRun("1+1;"); in TEST()
20553 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20554 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20558 CompileRun("1+1;"); in TEST()
20559 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20560 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20567 CompileRun("1+1;"); in TEST()
20568 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20569 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20572 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20573 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20577 CompileRun("1+1;"); in TEST()
20578 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20579 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20582 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20583 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20588 CompileRun("1+1;"); in TEST()
20589 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20590 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20596 CompileRun("1+1;"); in TEST()
20597 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20598 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20601 CompileRun("1+1;"); in TEST()
20602 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
20603 CHECK_EQ(4, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
20614 CompileRun("var ext1Calls = 0;"); in TEST()
20621 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(context).FromJust()); in TEST()
20634 CompileRun("function f(id) { new FrameDetails(id, 0); }"); in DebugEventInObserver()
20651 CompileRun("var obj = {};" in TEST()
20709 CompileRun(kMegamorphicTestProgram); in StubCacheHelper()
20754 CompileRun("var o = [1, 2, 3];"); in TEST()
20756 CompileRun("var o = {foo: [4, 5, 6], bar: [3, 0]};"); in TEST()
20758 CompileRun("var o = {foo: [1, 2, 3, [4, 5, 6]], bar: 'hi'};"); in TEST()
20869 CompileRun("obj.foo"); in CheckInstanceCheckedAccessors()
20871 CompileRun("obj.foo = 23"); in CheckInstanceCheckedAccessors()
20875 CompileRun("function test_get(o) { o.foo; }" in CheckInstanceCheckedAccessors()
20878 CompileRun("test_get(obj);"); in CheckInstanceCheckedAccessors()
20880 CompileRun("test_get(obj);"); in CheckInstanceCheckedAccessors()
20882 CompileRun("function test_set(o) { o.foo = 23; }" in CheckInstanceCheckedAccessors()
20885 CompileRun("test_set(obj);"); in CheckInstanceCheckedAccessors()
20887 CompileRun("test_set(obj);"); in CheckInstanceCheckedAccessors()
20891 CompileRun("%OptimizeFunctionOnNextCall(test_get);" in CheckInstanceCheckedAccessors()
20894 CompileRun("%OptimizeFunctionOnNextCall(test_set);" in CheckInstanceCheckedAccessors()
20899 CompileRun("%DeoptimizeFunction(test_get);" in CheckInstanceCheckedAccessors()
20922 CompileRun("var obj = new f();"); in THREADED_TEST()
20928 CompileRun("var obj = {};" in THREADED_TEST()
20963 CompileRun("var obj = new f();"); in THREADED_TEST()
20969 CompileRun("var obj = {};" in THREADED_TEST()
20994 CompileRun("var obj = new f();"); in THREADED_TEST()
21000 CompileRun("var obj = {};" in THREADED_TEST()
21007 CompileRun("var obj = new f();" in THREADED_TEST()
21032 CompileRun(trigger_ic); in TEST()
21051 CompileRun(throw_again); in TEST()
21081 CompileRun(do_store ? in Helper137002()
21084 CompileRun("obj.y = void 0;"); in Helper137002()
21086 CompileRun("%OptimizeObjectForAddingMultipleProperties(obj, 1);"); in Helper137002()
21088 CompileRun("obj.__proto__ = null;" in Helper137002()
21091 CompileRun("f({});"); in Helper137002()
21093 CompileRun("obj.y = void 0;" in Helper137002()
21096 CompileRun("delete obj.foo;"); in Helper137002()
21098 CompileRun("var result = f(obj);"); in Helper137002()
21100 CompileRun("result = obj.y;"); in Helper137002()
21143 CompileRun("function load(x) { return x.foo; }" in THREADED_TEST()
21231 CompileRun("function load(x) { return x.foo; }" in THREADED_TEST()
21247 CompileRun("try { throw new Error(); } finally { gc(); }"); in THREADED_TEST()
21268 Local<Value> set_value = CompileRun("new Set();"); in THREADED_TEST()
21271 Local<Value> map_value = CompileRun("new Map();"); in THREADED_TEST()
21297 CompileRun("for (var i = 0; i < 128; i++) Object.prototype[i] = 0;"); in THREADED_TEST()
21431 CHECK(CompileRun("JSON.stringify(other)").IsEmpty()); in TEST()
21432 CHECK(CompileRun("JSON.stringify({ 'a' : other, 'b' : ['c'] })").IsEmpty()); in TEST()
21433 CHECK(CompileRun("JSON.stringify([other, 'b', 'c'])").IsEmpty()); in TEST()
21480 CompileRun(source.start()); in CheckCorrectThrow()
21486 CompileRun("try { [1, 2, 3].sort(); } catch (e) { catcher(e) };"); in CheckCorrectThrow()
21534 CompileRun("other.x;"); in TEST()
21667 CompileRun("while (ShouldContinue()) { }"); in TestBody()
21687 CompileRun("var obj = new Klass; while (obj.shouldContinue()) { }"); in TestBody()
21705 CompileRun("var obj = new Klass; while (obj.shouldContinue) { }"); in TestBody()
21725 CompileRun("var obj = new Klass; while (obj.shouldContinue) { }"); in TestBody()
21759 CompileRun("var obj = new Klass; while (obj.shouldContinue()) { }"); in TestBody()
21787 CompileRun("function loopish(o) {" in TestBody()
21877 CompileRun("while (ShouldContinue()) { }"); in TestBody()
21927 CompileRun("(function(x){return x;})(1);"); in TEST()
21951 Local<Value> result = CompileRun("func();"); in THREADED_TEST()
21971 Local<Value> result2 = CompileRun("func2();"); in THREADED_TEST()
22016 CompileRun( in TEST()
22136 receiver = Local<Object>::Cast(CompileRun( in Run()
22141 receiver = Local<Object>::Cast(CompileRun( in Run()
22196 CompileRun(source.start()); in Run()
22226 CompileRun( in TEST()
22253 CompileRun( in TEST()
22275 auto result = CompileRun("x()"); in TEST()
22278 result = CompileRun("x(1,2,3)"); in TEST()
22281 result = CompileRun("x.call(undefined)"); in TEST()
22284 result = CompileRun("x.call(null)"); in TEST()
22287 result = CompileRun("7 + x.call(3) + 11"); in TEST()
22291 result = CompileRun("7 + x.call(3, 101, 102, 103, 104) + 11"); in TEST()
22295 result = CompileRun("var y = []; x.call(y)"); in TEST()
22298 result = CompileRun("x.call(y, 1, 2, 3, 4)"); in TEST()
22317 CompileRun("var s = new sig_obj();"); in TEST()
22320 CompileRun("x()"); in TEST()
22325 CompileRun("x.call(1)"); in TEST()
22330 auto result = CompileRun("s.x = x; s.x()"); in TEST()
22336 auto result = CompileRun("x.call(s)"); in TEST()
22362 CompileRun("var s = new sig_obj();"); in TEST()
22365 CompileRun("x()"); in TEST()
22370 CompileRun("x.call(1)"); in TEST()
22375 auto result = CompileRun("s.x = x; s.x()"); in TEST()
22381 auto result = CompileRun("x.call(s)"); in TEST()
22403 CompileRun("s = {}; s.__proto__ = new sig_obj();"); in TEST()
22406 CompileRun("x()"); in TEST()
22411 CompileRun("x.call(1)"); in TEST()
22416 auto result = CompileRun("s.x = x; s.x()"); in TEST()
22422 auto result = CompileRun("x.call(s)"); in TEST()
22500 CompileRun( in TEST()
22511 CompileRun("x1 = x2 = 0;"); in TEST()
22524 CompileRun("x1 = x2 = 0;"); in TEST()
22581 CompileRun("2+2"); in TEST()
22594 CompileRun("1+1"); in TEST()
22606 CompileRun("1+1"); in TEST()
22625 CompileRun("friend.__proto__ = {};"); in TEST()
22627 CompileRun("friend.__proto__;"); in TEST()
22632 CompileRun("var p = Object.prototype;" in TEST()
22636 CompileRun("var p = Object.prototype;" in TEST()
22643 CompileRun("var f = Object.prototype.__lookupSetter__('__proto__');" in TEST()
22646 CompileRun("var f = Object.prototype.__lookupGetter__('__proto__');" in TEST()
22652 CompileRun("Object.setPrototypeOf(friend, {});"); in TEST()
22654 CompileRun("Object.getPrototypeOf(friend);"); in TEST()
22667 CompileRun("(function f(x) { f(x+1); })(0)"); in TEST()
22781 CompileRun( in TEST()
22838 CompileRun("Object.getOwnPropertyNames(o)"); in TEST()
22877 CompileRun( in TEST()
23313 CompileRun("\"use strict\"; let x = 1;"); in TEST()
23524 v8::Local<v8::ArrayBuffer> result = CompileRun(load).As<v8::ArrayBuffer>(); in TEST()
23539 result = CompileRun(store).As<v8::ArrayBuffer>(); in TEST()
23558 CHECK(CompileRun( in TEST()
23586 v8::Local<v8::Value> result = CompileRun("%_GetPrototype(object)"); in TEST()
23589 result = CompileRun( in TEST()
23603 CompileRun("'use strict'; class Example { }; Example.prototype")); in TEST()
23738 value = CompileRun("'use strong'; object.x"); in TEST()
23745 value = CompileRun("'use strong'; object.foo"); in TEST()
23751 value = CompileRun("'use strong'; object[10]"); in TEST()
23765 value = CompileRun("'use strong'; object.x"); in TEST()
23773 value = CompileRun("'use strong'; object.foo"); in TEST()
23780 value = CompileRun("'use strong'; object[10]"); in TEST()
23811 value = CompileRun("'use strong'; object.x"); in TEST()
23818 value = CompileRun("'use strong'; object.foo"); in TEST()
23824 value = CompileRun("'use strong'; object[10]"); in TEST()
23838 value = CompileRun("'use strong'; object.x"); in TEST()
23845 value = CompileRun("'use strong'; object.foo"); in TEST()
23852 value = CompileRun("'use strong'; object[10]"); in TEST()
23870 fun = Local<Function>::Cast(CompileRun( in TEST()
23909 fun = Local<Function>::Cast(CompileRun( in TEST()
23949 obj = Local<Object>::Cast(CompileRun( in TEST()
24066 CompileRun("var result = 0; function store(x) { result = x; }"); in TEST()
24067 auto store = CompileRun("store").As<v8::Function>(); in TEST()
24074 CHECK_EQ(1, CompileRun("result")->Int32Value(env.local()).FromJust()); in TEST()
24082 CHECK_EQ(2, CompileRun("result")->Int32Value(env.local()).FromJust()); in TEST()
24089 CHECK_EQ(3, CompileRun("result")->Int32Value(env.local()).FromJust()); in TEST()
24101 CHECK(map->GetPrototype()->StrictEquals(CompileRun("Map.prototype"))); in TEST()
24104 v8::Local<v8::Value> val = CompileRun("new Map([[1, 2], [3, 4]])"); in TEST()
24167 CHECK(set->GetPrototype()->StrictEquals(CompileRun("Set.prototype"))); in TEST()
24170 v8::Local<v8::Value> val = CompileRun("new Set([1, 2])"); in TEST()
24221 CompileRun( in TEST()
24272 CompileRun( in TEST()
24308 CompileRun("function boom() { throw new Error(\"boom\") }"); in TEST()
24341 CompileRun("var result = [].concat(object)"); in TEST()
24350 CompileRun("var result = [].concat(object)"); in TEST()
24376 CompileRun("var result = Object.prototype.toString.call(object)"); in TEST()
24387 CompileRun("var result = Object.prototype.toString.call(object)"); in TEST()
24442 v8::Local<v8::Object> target = CompileRun("({})").As<v8::Object>(); in TEST()
24443 v8::Local<v8::Object> handler = CompileRun("({})").As<v8::Object>(); in TEST()