Lines Matching refs:code
2 // Use of this source code is governed by a BSD-style license that can be
8 #include "src/codegen/code-factory.h"
331 static void AssertCodeIsBaseline(MacroAssembler* masm, Register code,
333 DCHECK(!AreAliased(code, scratch));
334 // Verify that the code kind is baseline code via the CodeKind.
335 __ Ld(scratch, FieldMemOperand(code, Code::kFlagsOffset));
656 // returns control to the code after the bal(&invoke) above, which
787 // Invoke the code.
818 // Store code entry in the closure.
880 // If the optimized code is cleared, go to runtime to update the optimization
885 // Check if the optimized code is marked for deopt. If it is, call the
894 // Optimized code is good, get it into the closure and link the closure into
895 // the optimized functions list, then tail call the optimized code.
906 // Optimized code slot contains deoptimized code or code is cleared and
907 // optimized code marker isn't updated. Evict the code, update the marker
908 // and re-enter the closure's code.
950 // will restore the original bytecode. In order to simplify the code, we have
1014 // is optimized code or a tiering state that needs to be processed.
1033 // Check if optimized code marker is available
1057 // Reset code age and the OSR state (optimized to a single write).
1128 // We'll use the bytecode for both code age/OSR resetting, and pushing onto
1135 // Baseline code frames store the feedback vector where interpreter would
1149 // code.
1205 // Generate code for entering a JS function with the interpreter.
1246 // Check if feedback vector is valid. If valid, check for optimized code
1253 // is optimized code or an tiering state, call that instead.
1258 // Check if the optimized code slot is not empty or has a tiering state.
1276 // MANUAL indicates that the scope shouldn't actually generate code to set up
1425 // Load the baseline code into the closure.
1436 // Unreachable code.
1441 // Unreachable code.
1510 // Unreachable code.
1570 // Unreachable code.
1636 // Unreachable code.
1684 // If the code deoptimizes during the implicit function entry stack interrupt
1723 int code = config->GetAllocatableGeneralCode(i);
1724 __ Pop(Register::from_code(code));
1725 if (java_script_builtin && code == kJavaScriptCallArgCountRegister.code()) {
1726 __ SmiUntag(Register::from_code(code));
1781 DCHECK_EQ(kInterpreterAccumulatorRegister.code(), v0.code());
1803 // If the code object is null, just return to the caller.
1810 // Load deoptimization data from the code object.
1811 // <deopt_data> = <code>[#deoptimization_data_offset]
2091 Handle<Code> code) {
2153 __ Jump(code, RelocInfo::CODE_TARGET);
2162 Handle<Code> code) {
2234 // Tail-call to the {code} handler.
2235 __ Jump(code, RelocInfo::CODE_TARGET);
2834 // We are calling compiled C/C++ code. a0 and a1 hold our two arguments. We
3394 __ Ld(t9, MemOperand(sp, kCArgsSlotsSize)); // Return to calling code.
3410 // This code tries to be close to ia32 code so that any changes can be
3429 int code = config->GetAllocatableDoubleCode(i);
3430 const DoubleRegister fpu_reg = DoubleRegister::from_code(code);
3431 int offset = code * kDoubleSize;
3451 // Get the address of the location in the code object (a2) (return
3469 // a2: code address or 0 already loaded.
3502 int code = config->GetAllocatableDoubleCode(i);
3503 int dst_offset = code * kDoubleSize + double_regs_offset;
3504 int src_offset = code * kDoubleSize + kNumberOfRegisters * kPointerSize;
3570 int code = config->GetAllocatableDoubleCode(i);
3571 const DoubleRegister fpu_reg = DoubleRegister::from_code(code);
3572 int src_offset = code * kDoubleSize + double_regs_offset;
3617 // bytecode. If there is baseline code on the shared function info, converts an
3619 // code. Otherwise execution continues with bytecode.
3637 // Check if we have baseline code. For OSR entry it is safe to assume we
3638 // always have baseline code.
3644 // Start with bytecode as there is no baseline code.
3651 // Start with baseline code.
3695 // If the code deoptimizes during the implicit function entry stack interrupt
3766 // Retry from the start after installing baseline code.