Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
8 #include "src/codegen/code-factory.h"
356 static void AssertCodeIsBaseline(MacroAssembler* masm, Register code,
358 DCHECK(!AreAliased(code, scratch));
359 // Verify that the code kind is baseline code via the CodeKind.
360 __ Ld(scratch, FieldMemOperand(code, Code::kFlagsOffset));
689 // returns control to the code after the bal(&invoke) above, which
827 // Invoke the code.
859 // Store code entry in the closure.
927 // If the optimized code is cleared, go to runtime to update the optimization
932 // Check if the optimized code is marked for deopt. If it is, call the
942 // Optimized code is good, get it into the closure and link the closure into
943 // the optimized functions list, then tail call the optimized code.
953 // Optimized code slot contains deoptimized code or code is cleared and
954 // optimized code marker isn't updated. Evict the code, update the marker
955 // and re-enter the closure's code.
1002 // will restore the original bytecode. In order to simplify the code, we have
1069 // is optimized code or a tiering state that needs to be processed.
1093 // Check if optimized code marker is available
1119 // Reset code age and the OSR state (optimized to a single write).
1186 // We'll use the bytecode for both code age/OSR resetting, and pushing onto
1193 // Baseline code frames store the feedback vector where interpreter would
1207 // code.
1260 // Generate code for entering a JS function with the interpreter.
1308 // Check if feedback vector is valid. If valid, check for optimized code
1317 // is optimized code or an tiering state, call that instead.
1322 // Check if the optimized code slot is not empty or has a tiering state.
1340 // MANUAL indicates that the scope shouldn't actually generate code to set up
1495 // Load the baseline code into the closure.
1507 // Unreachable code.
1512 // Unreachable code.
1580 // Unreachable code.
1639 // Unreachable code.
1709 // Unreachable code.
1758 // If the code deoptimizes during the implicit function entry stack interrupt
1797 int code = config->GetAllocatableGeneralCode(i);
1798 __ Pop(Register::from_code(code));
1799 if (java_script_builtin && code == kJavaScriptCallArgCountRegister.code()) {
1800 __ SmiUntag(Register::from_code(code));
1855 DCHECK_EQ(kInterpreterAccumulatorRegister.code(), a0.code());
1877 // If the code object is null, just return to the caller.
1884 // Load deoptimization data from the code object.
1885 // <deopt_data> = <code>[#deoptimization_data_offset]
2196 Handle<Code> code) {
2263 __ Jump(code, RelocInfo::CODE_TARGET);
2272 Handle<Code> code) {
2305 // code is erased.
2355 // Tail-call to the {code} handler.
2356 __ Jump(code, RelocInfo::CODE_TARGET);
2876 // We are calling compiled C/C++ code. a0 and a1 hold our two arguments. We
3465 __ Ld(t6, MemOperand(sp, kCArgsSlotsSize)); // Return to calling code.
3481 // This code tries to be close to ia32 code so that any changes can be
3500 int code = config->GetAllocatableDoubleCode(i);
3501 const DoubleRegister fpu_reg = DoubleRegister::from_code(code);
3502 int offset = code * kDoubleSize;
3522 // Get the address of the location in the code object (a3) (return
3540 // a2: code object address
3572 int code = config->GetAllocatableDoubleCode(i);
3573 int dst_offset = code * kDoubleSize + double_regs_offset;
3575 code * kDoubleSize + kNumberOfRegisters * kSystemPointerSize;
3641 int code = config->GetAllocatableDoubleCode(i);
3642 const DoubleRegister fpu_reg = DoubleRegister::from_code(code);
3643 int src_offset = code * kDoubleSize + double_regs_offset;
3689 // bytecode. If there is baseline code on the shared function info, converts an
3691 // code. Otherwise execution continues with bytecode.
3711 // Check if we have baseline code. For OSR entry it is safe to assume we
3712 // always have baseline code.
3720 // Start with bytecode as there is no baseline code.
3727 // Start with baseline code.
3776 // If the code deoptimizes during the implicit function entry stack interrupt
3844 // Retry from the start after installing baseline code.