HomeSort by relevance Sort by last modified time
    Searched full:cons2 (Results 1 - 2 of 2) sorted by null

  /external/v8/test/cctest/
test-compiler.cc 251 "function Cons2(x, y) { this.sum = x + y; }\n"
252 "if (new Cons2(3,4).sum == 7) r+=256;"; // 256
test-api.cc 232 v8::Handle<v8::FunctionTemplate> cons2 = v8::FunctionTemplate::New(); local
233 cons2->SetClassName(v8_str("Cons2"));
237 v8::Handle<v8::FunctionTemplate> args[3] = { cons1, cons2, cons3 };
244 env->Global()->Set(v8_str("Cons2"), cons2->GetFunction());
248 "Fun2(new Cons1(), new Cons2(), new Cons3()) =="
249 "'[object Cons1],[object Cons2],[object Cons3]'");
253 "Fun2(new Cons1(), new Cons2(), 5) == '[object Cons1],[object Cons2],'");
    [all...]

Completed in 58 milliseconds