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

Side by Side Diff: src/debug/arm64/debug-arm64.cc

Issue 2052763003: [ic] [stubs] Remove InlineCacheState field from the code flags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 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/debug/arm/debug-arm.cc ('k') | src/debug/ia32/debug-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 10
(...skipping 25 matching lines...) Expand all
36 36
37 void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { 37 void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) {
38 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), 38 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
39 Assembler::kDebugBreakSlotInstructions); 39 Assembler::kDebugBreakSlotInstructions);
40 EmitDebugBreakSlot(&patcher); 40 EmitDebugBreakSlot(&patcher);
41 } 41 }
42 42
43 43
44 void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, 44 void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc,
45 Handle<Code> code) { 45 Handle<Code> code) {
46 DCHECK_EQ(Code::BUILTIN, code->kind()); 46 DCHECK(code->is_debug_stub());
47 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), 47 PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
48 Assembler::kDebugBreakSlotInstructions); 48 Assembler::kDebugBreakSlotInstructions);
49 // Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug 49 // Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug
50 // break slot code from 50 // break slot code from
51 // mov x0, x0 @ nop DEBUG_BREAK_NOP 51 // mov x0, x0 @ nop DEBUG_BREAK_NOP
52 // mov x0, x0 @ nop DEBUG_BREAK_NOP 52 // mov x0, x0 @ nop DEBUG_BREAK_NOP
53 // mov x0, x0 @ nop DEBUG_BREAK_NOP 53 // mov x0, x0 @ nop DEBUG_BREAK_NOP
54 // mov x0, x0 @ nop DEBUG_BREAK_NOP 54 // mov x0, x0 @ nop DEBUG_BREAK_NOP
55 // mov x0, x0 @ nop DEBUG_BREAK_NOP 55 // mov x0, x0 @ nop DEBUG_BREAK_NOP
56 // to a call to the debug slot code. 56 // to a call to the debug slot code.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 __ Br(scratch); 165 __ Br(scratch);
166 } 166 }
167 167
168 168
169 const bool LiveEdit::kFrameDropperSupported = true; 169 const bool LiveEdit::kFrameDropperSupported = true;
170 170
171 } // namespace internal 171 } // namespace internal
172 } // namespace v8 172 } // namespace v8
173 173
174 #endif // V8_TARGET_ARCH_ARM64 174 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/debug/arm/debug-arm.cc ('k') | src/debug/ia32/debug-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698