Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: src/builtins/mips64/builtins-mips64.cc

Issue 2909893002: [debug] Untangle DebugInfo from break point support (Closed)
Patch Set: Address comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/builtins/mips/builtins-mips.cc ('k') | src/builtins/ppc/builtins-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 __ Call(at); 1138 __ Call(at);
1139 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset()); 1139 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset());
1140 1140
1141 // The return value is in v0. 1141 // The return value is in v0.
1142 LeaveInterpreterFrame(masm, t0); 1142 LeaveInterpreterFrame(masm, t0);
1143 __ Jump(ra); 1143 __ Jump(ra);
1144 1144
1145 // Load debug copy of the bytecode array. 1145 // Load debug copy of the bytecode array.
1146 __ bind(&load_debug_bytecode_array); 1146 __ bind(&load_debug_bytecode_array);
1147 __ Ld(kInterpreterBytecodeArrayRegister, 1147 __ Ld(kInterpreterBytecodeArrayRegister,
1148 FieldMemOperand(debug_info, DebugInfo::kDebugBytecodeArrayIndex)); 1148 FieldMemOperand(debug_info, DebugInfo::kDebugBytecodeArrayOffset));
1149 __ Branch(&bytecode_array_loaded); 1149 __ Branch(&bytecode_array_loaded);
1150 1150
1151 // If the shared code is no longer this entry trampoline, then the underlying 1151 // If the shared code is no longer this entry trampoline, then the underlying
1152 // function has been switched to a different kind of code and we heal the 1152 // function has been switched to a different kind of code and we heal the
1153 // closure by switching the code entry field over to the new code as well. 1153 // closure by switching the code entry field over to the new code as well.
1154 __ bind(&switch_to_different_code_kind); 1154 __ bind(&switch_to_different_code_kind);
1155 __ LeaveFrame(StackFrame::JAVA_SCRIPT); 1155 __ LeaveFrame(StackFrame::JAVA_SCRIPT);
1156 __ Ld(a4, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); 1156 __ Ld(a4, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
1157 __ Ld(a4, FieldMemOperand(a4, SharedFunctionInfo::kCodeOffset)); 1157 __ Ld(a4, FieldMemOperand(a4, SharedFunctionInfo::kCodeOffset));
1158 __ Daddu(a4, a4, Operand(Code::kHeaderSize - kHeapObjectTag)); 1158 __ Daddu(a4, a4, Operand(Code::kHeaderSize - kHeapObjectTag));
(...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after
3151 __ Daddu(at, v0, Operand(Code::kHeaderSize - kHeapObjectTag)); 3151 __ Daddu(at, v0, Operand(Code::kHeaderSize - kHeapObjectTag));
3152 __ Jump(at); 3152 __ Jump(at);
3153 } 3153 }
3154 3154
3155 #undef __ 3155 #undef __
3156 3156
3157 } // namespace internal 3157 } // namespace internal
3158 } // namespace v8 3158 } // namespace v8
3159 3159
3160 #endif // V8_TARGET_ARCH_MIPS64 3160 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/builtins/mips/builtins-mips.cc ('k') | src/builtins/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698