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

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

Issue 1248303002: Unify runtime-style IC functions with Runtime intrinsics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make mips work Created 5 years, 5 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // Load padding words on stack. 64 // Load padding words on stack.
65 for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) { 65 for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) {
66 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue))); 66 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingValue)));
67 } 67 }
68 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize))); 68 __ push(Immediate(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
69 69
70 if (mode == SAVE_RESULT_REGISTER) __ push(eax); 70 if (mode == SAVE_RESULT_REGISTER) __ push(eax);
71 71
72 __ Move(eax, Immediate(0)); // No arguments. 72 __ Move(eax, Immediate(0)); // No arguments.
73 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate()))); 73 __ mov(ebx,
74 Immediate(ExternalReference(
75 Runtime::FunctionForId(Runtime::kDebugBreak), masm->isolate())));
74 76
75 CEntryStub ceb(masm->isolate(), 1); 77 CEntryStub ceb(masm->isolate(), 1);
76 __ CallStub(&ceb); 78 __ CallStub(&ceb);
77 79
78 if (FLAG_debug_code) { 80 if (FLAG_debug_code) {
79 for (int i = 0; i < kNumJSCallerSaved; ++i) { 81 for (int i = 0; i < kNumJSCallerSaved; ++i) {
80 Register reg = {JSCallerSavedCode(i)}; 82 Register reg = {JSCallerSavedCode(i)};
81 __ Move(reg, Immediate(kDebugZapValue)); 83 __ Move(reg, Immediate(kDebugZapValue));
82 } 84 }
83 } 85 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 138
137 139
138 const bool LiveEdit::kFrameDropperSupported = true; 140 const bool LiveEdit::kFrameDropperSupported = true;
139 141
140 #undef __ 142 #undef __
141 143
142 } // namespace internal 144 } // namespace internal
143 } // namespace v8 145 } // namespace v8
144 146
145 #endif // V8_TARGET_ARCH_IA32 147 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698