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

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

Issue 246643014: CodeStubs contain their corresponding Isolate* now. (part 1) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Feedback. Rebased. Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 __ stm(db_w, sp, object_regs | non_object_regs); 140 __ stm(db_w, sp, object_regs | non_object_regs);
141 } 141 }
142 142
143 #ifdef DEBUG 143 #ifdef DEBUG
144 __ RecordComment("// Calling from debug break to runtime - come in - over"); 144 __ RecordComment("// Calling from debug break to runtime - come in - over");
145 #endif 145 #endif
146 __ mov(r0, Operand::Zero()); // no arguments 146 __ mov(r0, Operand::Zero()); // no arguments
147 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate()))); 147 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate())));
148 148
149 CEntryStub ceb(1); 149 CEntryStub ceb(masm->isolate(), 1);
150 __ CallStub(&ceb); 150 __ CallStub(&ceb);
151 151
152 // Restore the register values from the expression stack. 152 // Restore the register values from the expression stack.
153 if ((object_regs | non_object_regs) != 0) { 153 if ((object_regs | non_object_regs) != 0) {
154 __ ldm(ia_w, sp, object_regs | non_object_regs); 154 __ ldm(ia_w, sp, object_regs | non_object_regs);
155 for (int i = 0; i < kNumJSCallerSaved; i++) { 155 for (int i = 0; i < kNumJSCallerSaved; i++) {
156 int r = JSCallerSavedCode(i); 156 int r = JSCallerSavedCode(i);
157 Register reg = { r }; 157 Register reg = { r };
158 if ((non_object_regs & (1 << r)) != 0) { 158 if ((non_object_regs & (1 << r)) != 0) {
159 __ SmiUntag(reg); 159 __ SmiUntag(reg);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 #undef __ 330 #undef __
331 331
332 332
333 333
334 #endif // ENABLE_DEBUGGER_SUPPORT 334 #endif // ENABLE_DEBUGGER_SUPPORT
335 335
336 } } // namespace v8::internal 336 } } // namespace v8::internal
337 337
338 #endif // V8_TARGET_ARCH_ARM 338 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698