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

Side by Side Diff: src/debug/ppc/debug-ppc.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/mips64/debug-mips64.cc ('k') | src/debug/s390/debug-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 23 matching lines...) Expand all
34 34
35 35
36 void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { 36 void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) {
37 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); 37 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions);
38 EmitDebugBreakSlot(patcher.masm()); 38 EmitDebugBreakSlot(patcher.masm());
39 } 39 }
40 40
41 41
42 void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, 42 void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc,
43 Handle<Code> code) { 43 Handle<Code> code) {
44 DCHECK_EQ(Code::BUILTIN, code->kind()); 44 DCHECK(code->is_debug_stub());
45 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); 45 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions);
46 // Patch the code changing the debug break slot code from 46 // Patch the code changing the debug break slot code from
47 // 47 //
48 // ori r3, r3, 0 48 // ori r3, r3, 0
49 // ori r3, r3, 0 49 // ori r3, r3, 0
50 // ori r3, r3, 0 50 // ori r3, r3, 0
51 // ori r3, r3, 0 51 // ori r3, r3, 0
52 // ori r3, r3, 0 52 // ori r3, r3, 0
53 // 53 //
54 // to a call to the debug break code, using a FIXED_SEQUENCE. 54 // to a call to the debug break code, using a FIXED_SEQUENCE.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 153 }
154 154
155 155
156 const bool LiveEdit::kFrameDropperSupported = true; 156 const bool LiveEdit::kFrameDropperSupported = true;
157 157
158 #undef __ 158 #undef __
159 } // namespace internal 159 } // namespace internal
160 } // namespace v8 160 } // namespace v8
161 161
162 #endif // V8_TARGET_ARCH_PPC 162 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/debug/mips64/debug-mips64.cc ('k') | src/debug/s390/debug-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698