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

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

Issue 1778713002: PPC: [runtime] Unify and simplify how frames are marked (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/full-codegen/ppc/full-codegen-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 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 ExternalReference after_break_target = 114 ExternalReference after_break_target =
115 ExternalReference::debug_after_break_target_address(masm->isolate()); 115 ExternalReference::debug_after_break_target_address(masm->isolate());
116 __ mov(ip, Operand(after_break_target)); 116 __ mov(ip, Operand(after_break_target));
117 __ LoadP(ip, MemOperand(ip)); 117 __ LoadP(ip, MemOperand(ip));
118 __ JumpToJSEntry(ip); 118 __ JumpToJSEntry(ip);
119 } 119 }
120 120
121 121
122 void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { 122 void DebugCodegen::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
123 // Load the function pointer off of our current stack frame. 123 // Load the function pointer off of our current stack frame.
124 __ LoadP(r4, MemOperand(fp, StandardFrameConstants::kConstantPoolOffset - 124 __ LoadP(r4, MemOperand(fp, FrameDropperFrameConstants::kFunctionOffset));
125 kPointerSize));
126 125
127 // Pop return address and frame 126 // Pop return address and frame
128 __ LeaveFrame(StackFrame::INTERNAL); 127 __ LeaveFrame(StackFrame::INTERNAL);
129 128
130 ParameterCount dummy(0); 129 ParameterCount dummy(0);
131 __ FloodFunctionIfStepping(r4, no_reg, dummy, dummy); 130 __ FloodFunctionIfStepping(r4, no_reg, dummy, dummy);
132 131
133 // Load context from the function. 132 // Load context from the function.
134 __ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset)); 133 __ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset));
135 134
(...skipping 10 matching lines...) Expand all
146 } 145 }
147 146
148 147
149 const bool LiveEdit::kFrameDropperSupported = true; 148 const bool LiveEdit::kFrameDropperSupported = true;
150 149
151 #undef __ 150 #undef __
152 } // namespace internal 151 } // namespace internal
153 } // namespace v8 152 } // namespace v8
154 153
155 #endif // V8_TARGET_ARCH_PPC 154 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698