Home | History | Annotate | Download | only in compiler

Lines Matching defs:code

2 // Use of this source code is governed by a BSD-style license that can be
45 FunctionTester(Handle<Code> code, int param_count)
51 function->ReplaceCode(*code);
54 FunctionTester(const CallInterfaceDescriptor& descriptor, Handle<Code> code)
55 : FunctionTester(code, descriptor.GetParameterCount()) {}
227 Handle<Code> code = Pipeline::GenerateCodeForTesting(&info);
228 CHECK(!code.is_null());
229 info.dependencies()->Commit(code);
230 info.context()->native_context()->AddOptimizedCode(*code);
231 function->ReplaceCode(*code);
249 // and replace the JSFunction's code with the result.
258 Handle<Code> code = Pipeline::GenerateCodeForTesting(&info, graph);
259 CHECK(!code.is_null());
260 function->ReplaceCode(*code);