Lines Matching refs:code
6 // * Redistributions of source code must retain the above copyright
120 // to limit code size. We should probably evaluate this decision by
143 object_.code(), addr_.code(), scratch_.code());
157 return ObjectBits::encode(object_.code()) |
158 AddressBits::encode(addr_.code()) |
159 ScratchBits::encode(scratch_.code());
180 // The compiled code assumes that record write doesn't change the
194 // Clobber all input registers when running with the debug-code flag
241 // to limit code size. We should probably evaluate this decision by
259 // record write code isn't going to save us any memory.
270 // Clobber all input registers when running with the debug-code flag
380 // should remove this need and make the runtime routine entry code
411 // should remove this need and make the runtime routine entry code
433 // parameter count to avoid emitting code to do the check.
447 // Load the code entry point from the function into the target register.
450 addq(target, Immediate(Code::kHeaderSize - kHeapObjectTag));
1490 void MacroAssembler::Jump(Handle<Code> code_object, RelocInfo::Mode rmode) {
1508 void MacroAssembler::Call(Handle<Code> code_object, RelocInfo::Mode rmode) {
1517 // Adjust this code if not the case.
1520 // The pc (return address) is already on TOS. This code pushes state,
1540 // for rbp. We expect the code throwing an exception to check rbp
1801 Handle<Code> code_constant,
1816 // don't want that done. Skip adaption code by making it look
1844 Handle<Code> adaptor =
1845 Handle<Code>(Builtins::builtin(Builtins::ArgumentsAdaptorTrampoline));
1848 addq(rdx, Immediate(Code::kHeaderSize - kHeapObjectTag));
1864 void MacroAssembler::InvokeCode(Register code,
1869 InvokePrologue(expected, actual, Handle<Code>::null(), code, &done, flag);
1871 call(code);
1874 jmp(code);
1880 void MacroAssembler::InvokeCode(Handle<Code> code,
1887 InvokePrologue(expected, actual, code, dummy, &done, flag);
1889 Call(code, rmode);
1892 Jump(code, rmode);
1907 // Advances rdx to the end of the Code object header, to the start of
1908 // the executable code.
1909 lea(rdx, FieldOperand(rdx, Code::kHeaderSize));
1924 // Invoke the cached code.
1925 Handle<Code> code(function->code());
1927 InvokeCode(code, expected, actual, RelocInfo::CODE_TARGET, flag);
1943 Check(not_equal, "code object not properly patched");
2116 // to it in the code. Load it from the map.
2169 // When generating debug code, make sure the lexical context is set.
2570 // Create a new macro assembler pointing to the address of the code to patch.
2578 // Indicate that code has changed.
2581 // Check that the code was patched as expected.