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

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

Issue 2238893002: [debugger] separate break point info from code instrumentation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 4 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 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 __ Call(at); 1101 __ Call(at);
1102 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset()); 1102 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset());
1103 1103
1104 // The return value is in v0. 1104 // The return value is in v0.
1105 LeaveInterpreterFrame(masm, t0); 1105 LeaveInterpreterFrame(masm, t0);
1106 __ Jump(ra); 1106 __ Jump(ra);
1107 1107
1108 // Load debug copy of the bytecode array. 1108 // Load debug copy of the bytecode array.
1109 __ bind(&load_debug_bytecode_array); 1109 __ bind(&load_debug_bytecode_array);
1110 __ ld(kInterpreterBytecodeArrayRegister, 1110 __ ld(kInterpreterBytecodeArrayRegister,
1111 FieldMemOperand(debug_info, DebugInfo::kAbstractCodeIndex)); 1111 FieldMemOperand(debug_info, DebugInfo::kDebugBytecodeArrayIndex));
1112 __ Branch(&bytecode_array_loaded); 1112 __ Branch(&bytecode_array_loaded);
1113 1113
1114 // If the bytecode array is no longer present, then the underlying function 1114 // If the bytecode array is no longer present, then the underlying function
1115 // has been switched to a different kind of code and we heal the closure by 1115 // has been switched to a different kind of code and we heal the closure by
1116 // switching the code entry field over to the new code object as well. 1116 // switching the code entry field over to the new code object as well.
1117 __ bind(&bytecode_array_not_present); 1117 __ bind(&bytecode_array_not_present);
1118 __ LeaveFrame(StackFrame::JAVA_SCRIPT); 1118 __ LeaveFrame(StackFrame::JAVA_SCRIPT);
1119 __ ld(a4, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); 1119 __ ld(a4, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
1120 __ ld(a4, FieldMemOperand(a4, SharedFunctionInfo::kCodeOffset)); 1120 __ ld(a4, FieldMemOperand(a4, SharedFunctionInfo::kCodeOffset));
1121 __ Daddu(a4, a4, Operand(Code::kHeaderSize - kHeapObjectTag)); 1121 __ Daddu(a4, a4, Operand(Code::kHeaderSize - kHeapObjectTag));
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
2974 __ break_(0xCC); 2974 __ break_(0xCC);
2975 } 2975 }
2976 } 2976 }
2977 2977
2978 #undef __ 2978 #undef __
2979 2979
2980 } // namespace internal 2980 } // namespace internal
2981 } // namespace v8 2981 } // namespace v8
2982 2982
2983 #endif // V8_TARGET_ARCH_MIPS64 2983 #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