Lines Matching defs:code

2 // Use of this source code is governed by a BSD-style license that can be
13 #include "src/codegen/code-factory.h"
28 #include "src/wasm/wasm-code-manager.h"
156 void TurboAssembler::Jump(Handle<Code> code, RelocInfo::Mode rmode,
160 Builtins::IsIsolateIndependentBuiltin(*code));
164 isolate()->builtins()->IsBuiltinHandle(code, &builtin);
169 int offset = IsolateData::BuiltinEntrySlotOffset(code->builtin_id());
187 int32_t target_index = AddCodeTarget(code);
196 // AIX uses a function descriptor. When calling C code be
239 void TurboAssembler::Call(Handle<Code> code, RelocInfo::Mode rmode,
244 Builtins::IsIsolateIndependentBuiltin(*code));
246 Builtins::IsIsolateIndependentBuiltin(*code));
250 isolate()->builtins()->IsBuiltinHandle(code, &builtin);
254 int offset = IsolateData::BuiltinEntrySlotOffset(code->builtin_id());
265 DCHECK(code->IsExecutable());
266 int32_t target_index = AddCodeTarget(code);
347 // non-isolate-independent code. In many cases it might be cheaper than
364 // non-isolate-independent code. In many cases it might be cheaper than
673 // Clobber clobbered input registers when running with the debug-code flag
824 // Clobber clobbered registers when running with the debug-code flag
1227 // This path cannot rely on ip containing code entry.
1292 // since we were called from C code
1322 // since the sp slot and code slot were pushed after the fp.
1582 // We call indirectly through the code field in the function to
1585 Register code = kJavaScriptCallCodeStartRegister;
1587 code, FieldMemOperand(function, JSFunction::kCodeOffset), r0);
1590 CallCodeObject(code);
1593 JumpCodeObject(code);
1645 // Adjust this code if not the case.
1969 // should remove this need and make the runtime routine entry code
1974 Handle<Code> code =
1977 Handle<Code> code = CodeFactory::CEntry(isolate(), 1, save_doubles);
1979 Call(code, RelocInfo::CODE_TARGET);
1994 Handle<Code> code = CodeFactory::CEntry(isolate(), 1, SaveFPRegsMode::kIgnore,
1996 Jump(code, RelocInfo::CODE_TARGET);
2083 // We don't actually want to generate a pile of code for this, so just
2326 // See x64 code for reasoning about how to address the isolate data fields.
2354 // AIX/PPC64BE Linux uses a function descriptor. When calling C code be
3392 int code = config->GetAllocatableGeneralCode(i);
3393 Register candidate = Register::from_code(code);
3639 // builtin code (which will later be embedded into the binary) or compiling
3640 // user JS code at runtime.
3641 // * Builtin code runs in --jitless mode and thus must not call into on-heap
3645 // targets are usually generated code and not builtin Code objects.
3701 // Note that this assumes the caller code (i.e. the Code object currently
3710 // AIX/PPC64BE Linux uses a function descriptor. When calling C code be