MIPS64: Fix 'Visit the Optimized Code Map on first call rather than closure creation.'
Port c2de961128
Fixes an infinite loop on MIPS64 big-endian.
BUG=
Review-Url: https://codereview.chromium.org/1959463003
Cr-Commit-Position: refs/heads/master@{#36090}
This commit is contained in:
parent
0783a6fc27
commit
643dfe0d05
@ -1357,7 +1357,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
||||
// Is the full code valid?
|
||||
__ ld(entry, FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset));
|
||||
__ ld(entry, FieldMemOperand(entry, SharedFunctionInfo::kCodeOffset));
|
||||
__ ld(a5, FieldMemOperand(entry, Code::kFlagsOffset));
|
||||
__ lw(a5, FieldMemOperand(entry, Code::kFlagsOffset));
|
||||
__ And(a5, a5, Operand(Code::KindField::kMask));
|
||||
__ dsrl(a5, a5, Code::KindField::kShift);
|
||||
__ Branch(&gotta_call_runtime_no_stack, eq, a5, Operand(Code::BUILTIN));
|
||||
|
Loading…
Reference in New Issue
Block a user