| OLD | NEW |
| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
| 8 | 8 |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/debug.h" | 10 #include "src/debug.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 } | 67 } |
| 68 | 68 |
| 69 | 69 |
| 70 #define __ ACCESS_MASM(masm) | 70 #define __ ACCESS_MASM(masm) |
| 71 | 71 |
| 72 | 72 |
| 73 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, | 73 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
| 74 RegList object_regs, | 74 RegList object_regs, |
| 75 RegList non_object_regs) { | 75 RegList non_object_regs) { |
| 76 { | 76 { |
| 77 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); | 77 FrameScope scope(masm, StackFrame::INTERNAL); |
| 78 | 78 |
| 79 // Load padding words on stack. | 79 // Load padding words on stack. |
| 80 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingValue)); | 80 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingValue)); |
| 81 for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) { | 81 for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) { |
| 82 __ push(ip); | 82 __ push(ip); |
| 83 } | 83 } |
| 84 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingInitialSize)); | 84 __ LoadSmiLiteral(ip, Smi::FromInt(LiveEdit::kFramePaddingInitialSize)); |
| 85 __ push(ip); | 85 __ push(ip); |
| 86 | 86 |
| 87 // Store the registers containing live values on the expression stack to | 87 // Store the registers containing live values on the expression stack to |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 } | 297 } |
| 298 | 298 |
| 299 | 299 |
| 300 const bool LiveEdit::kFrameDropperSupported = true; | 300 const bool LiveEdit::kFrameDropperSupported = true; |
| 301 | 301 |
| 302 #undef __ | 302 #undef __ |
| 303 } // namespace internal | 303 } // namespace internal |
| 304 } // namespace v8 | 304 } // namespace v8 |
| 305 | 305 |
| 306 #endif // V8_TARGET_ARCH_PPC | 306 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |