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

Side by Side Diff: src/builtins/mips/builtins-mips.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/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.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_MIPS 5 #if V8_TARGET_ARCH_MIPS
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 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 __ Call(at); 1109 __ Call(at);
1110 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset()); 1110 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset());
1111 1111
1112 // The return value is in v0. 1112 // The return value is in v0.
1113 LeaveInterpreterFrame(masm, t0); 1113 LeaveInterpreterFrame(masm, t0);
1114 __ Jump(ra); 1114 __ Jump(ra);
1115 1115
1116 // Load debug copy of the bytecode array. 1116 // Load debug copy of the bytecode array.
1117 __ bind(&load_debug_bytecode_array); 1117 __ bind(&load_debug_bytecode_array);
1118 __ lw(kInterpreterBytecodeArrayRegister, 1118 __ lw(kInterpreterBytecodeArrayRegister,
1119 FieldMemOperand(debug_info, DebugInfo::kAbstractCodeIndex)); 1119 FieldMemOperand(debug_info, DebugInfo::kDebugBytecodeArrayIndex));
1120 __ Branch(&bytecode_array_loaded); 1120 __ Branch(&bytecode_array_loaded);
1121 1121
1122 // If the bytecode array is no longer present, then the underlying function 1122 // If the bytecode array is no longer present, then the underlying function
1123 // has been switched to a different kind of code and we heal the closure by 1123 // has been switched to a different kind of code and we heal the closure by
1124 // switching the code entry field over to the new code object as well. 1124 // switching the code entry field over to the new code object as well.
1125 __ bind(&bytecode_array_not_present); 1125 __ bind(&bytecode_array_not_present);
1126 __ LeaveFrame(StackFrame::JAVA_SCRIPT); 1126 __ LeaveFrame(StackFrame::JAVA_SCRIPT);
1127 __ lw(t0, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); 1127 __ lw(t0, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
1128 __ lw(t0, FieldMemOperand(t0, SharedFunctionInfo::kCodeOffset)); 1128 __ lw(t0, FieldMemOperand(t0, SharedFunctionInfo::kCodeOffset));
1129 __ Addu(t0, t0, Operand(Code::kHeaderSize - kHeapObjectTag)); 1129 __ Addu(t0, t0, Operand(Code::kHeaderSize - kHeapObjectTag));
(...skipping 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2978 __ break_(0xCC); 2978 __ break_(0xCC);
2979 } 2979 }
2980 } 2980 }
2981 2981
2982 #undef __ 2982 #undef __
2983 2983
2984 } // namespace internal 2984 } // namespace internal
2985 } // namespace v8 2985 } // namespace v8
2986 2986
2987 #endif // V8_TARGET_ARCH_MIPS 2987 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/builtins/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698