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

Side by Side Diff: src/builtins/arm64/builtins-arm64.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/arm/builtins-arm.cc ('k') | src/builtins/ia32/builtins-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/debug/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 __ Call(ip0); 1121 __ Call(ip0);
1122 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset()); 1122 masm->isolate()->heap()->SetInterpreterEntryReturnPCOffset(masm->pc_offset());
1123 1123
1124 // The return value is in x0. 1124 // The return value is in x0.
1125 LeaveInterpreterFrame(masm, x2); 1125 LeaveInterpreterFrame(masm, x2);
1126 __ Ret(); 1126 __ Ret();
1127 1127
1128 // Load debug copy of the bytecode array. 1128 // Load debug copy of the bytecode array.
1129 __ Bind(&load_debug_bytecode_array); 1129 __ Bind(&load_debug_bytecode_array);
1130 __ Ldr(kInterpreterBytecodeArrayRegister, 1130 __ Ldr(kInterpreterBytecodeArrayRegister,
1131 FieldMemOperand(debug_info, DebugInfo::kAbstractCodeIndex)); 1131 FieldMemOperand(debug_info, DebugInfo::kDebugBytecodeArrayIndex));
1132 __ B(&bytecode_array_loaded); 1132 __ B(&bytecode_array_loaded);
1133 1133
1134 // If the bytecode array is no longer present, then the underlying function 1134 // If the bytecode array is no longer present, then the underlying function
1135 // has been switched to a different kind of code and we heal the closure by 1135 // has been switched to a different kind of code and we heal the closure by
1136 // switching the code entry field over to the new code object as well. 1136 // switching the code entry field over to the new code object as well.
1137 __ Bind(&bytecode_array_not_present); 1137 __ Bind(&bytecode_array_not_present);
1138 __ LeaveFrame(StackFrame::JAVA_SCRIPT); 1138 __ LeaveFrame(StackFrame::JAVA_SCRIPT);
1139 __ Ldr(x7, FieldMemOperand(x1, JSFunction::kSharedFunctionInfoOffset)); 1139 __ Ldr(x7, FieldMemOperand(x1, JSFunction::kSharedFunctionInfoOffset));
1140 __ Ldr(x7, FieldMemOperand(x7, SharedFunctionInfo::kCodeOffset)); 1140 __ Ldr(x7, FieldMemOperand(x7, SharedFunctionInfo::kCodeOffset));
1141 __ Add(x7, x7, Operand(Code::kHeaderSize - kHeapObjectTag)); 1141 __ Add(x7, x7, Operand(Code::kHeaderSize - kHeapObjectTag));
(...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after
3010 __ Unreachable(); 3010 __ Unreachable();
3011 } 3011 }
3012 } 3012 }
3013 3013
3014 #undef __ 3014 #undef __
3015 3015
3016 } // namespace internal 3016 } // namespace internal
3017 } // namespace v8 3017 } // namespace v8
3018 3018
3019 #endif // V8_TARGET_ARCH_ARM 3019 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/builtins/arm/builtins-arm.cc ('k') | src/builtins/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698