Home | History | Annotate | Download | only in cctest

Lines Matching refs:c2

12017   LocalContext c2;
12018 c2->Global()->Set(v8::String::New("foo"), v8::Integer::New(101));
12643 "function C2() {"
12646 "C2.prototype = { };"
12647 "C2.prototype.__proto__ = P;");
12657 script = v8::Script::Compile(v8_str("new C2();"));
12659 v8::Handle<v8::Object> c2 = v8::Handle<v8::Object>::Cast(script->Run());
12660 CHECK_EQ(42, c2->Get(v8_str("x"))->Int32Value());
12661 CHECK_EQ(23, c2->Get(v8_str("y"))->Int32Value());
12692 "function C2() {"
12695 "C2.prototype = { };"
12696 "C2.prototype.__proto__ = P;");
12706 script = v8::Script::Compile(v8_str("new C2();"));
12708 v8::Handle<v8::Object> c2 = v8::Handle<v8::Object>::Cast(script->Run());
12709 CHECK_EQ(23, c2->Get(v8_str("x"))->Int32Value());
12710 CHECK_EQ(42, c2->Get(v8_str("y"))->Int32Value());