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

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

Issue 11745030: ARM: generate integer zero in a uniform manner. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/deoptimizer-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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 __ mov(reg, Operand(reg, LSL, kSmiTagSize)); 155 __ mov(reg, Operand(reg, LSL, kSmiTagSize));
156 } 156 }
157 } 157 }
158 __ stm(db_w, sp, object_regs | non_object_regs); 158 __ stm(db_w, sp, object_regs | non_object_regs);
159 } 159 }
160 160
161 #ifdef DEBUG 161 #ifdef DEBUG
162 __ RecordComment("// Calling from debug break to runtime - come in - over"); 162 __ RecordComment("// Calling from debug break to runtime - come in - over");
163 #endif 163 #endif
164 __ mov(r0, Operand(0, RelocInfo::NONE32)); // no arguments 164 __ mov(r0, Operand::Zero()); // no arguments
165 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate()))); 165 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate())));
166 166
167 CEntryStub ceb(1); 167 CEntryStub ceb(1);
168 __ CallStub(&ceb); 168 __ CallStub(&ceb);
169 169
170 // Restore the register values from the expression stack. 170 // Restore the register values from the expression stack.
171 if ((object_regs | non_object_regs) != 0) { 171 if ((object_regs | non_object_regs) != 0) {
172 __ ldm(ia_w, sp, object_regs | non_object_regs); 172 __ ldm(ia_w, sp, object_regs | non_object_regs);
173 for (int i = 0; i < kNumJSCallerSaved; i++) { 173 for (int i = 0; i < kNumJSCallerSaved; i++) {
174 int r = JSCallerSavedCode(i); 174 int r = JSCallerSavedCode(i);
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 #undef __ 337 #undef __
338 338
339 339
340 340
341 #endif // ENABLE_DEBUGGER_SUPPORT 341 #endif // ENABLE_DEBUGGER_SUPPORT
342 342
343 } } // namespace v8::internal 343 } } // namespace v8::internal
344 344
345 #endif // V8_TARGET_ARCH_ARM 345 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/deoptimizer-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698