Home | History | Annotate | Download | only in compiler

Lines Matching refs:function

24 #include "test/cctest/compiler/function-tester.h"
36 *v8::Handle<v8::Function>::Cast(CompileRun(source)));
44 function(NewFunction(src)),
45 info(function, scope->main_zone()),
48 info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code()));
100 Handle<JSFunction> function;
113 "function foo() { deopt(); return 42; }; foo") {}
122 // Manually construct a schedule for the function below:
123 // function foo() {
131 NewFunction("function deopt() { %DeoptimizeFunction(foo); }; deopt");
136 Handle<Context> caller_context(function->context(), CcTest::i_isolate());
167 ZoneList<Statement*>* body = info.function()->body();
211 t.function->ReplaceCode(*t.result_code);
217 !Execution::Call(isolate, t.function,
230 "function foo() { %DeoptimizeFunction(foo); return 42; }; foo") {}
239 // Manually construct a schedule for the function below:
240 // function foo() {
248 Unique<Object>::CreateUninitialized(function);
251 Handle<Context> context(function->context(), CcTest::i_isolate());
277 ZoneList<Statement*>* body = info.function()->body();
300 t.function->ReplaceCode(*t.result_code);
306 !Execution::Call(isolate, t.function,