OLD | NEW |
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 Loading... |
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::NONE)); // no arguments | 164 __ mov(r0, Operand(0, RelocInfo::NONE32)); // 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 Loading... |
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 |
OLD | NEW |