| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 Loading... |
| 139 #ifdef ENABLE_DEBUGGER_SUPPORT | 139 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 140 // --------------------------------------------------------------------------- | 140 // --------------------------------------------------------------------------- |
| 141 // Debugger Support | 141 // Debugger Support |
| 142 | 142 |
| 143 void SaveRegistersToMemory(RegList regs); | 143 void SaveRegistersToMemory(RegList regs); |
| 144 void RestoreRegistersFromMemory(RegList regs); | 144 void RestoreRegistersFromMemory(RegList regs); |
| 145 void CopyRegistersFromMemoryToStack(Register base, RegList regs); | 145 void CopyRegistersFromMemoryToStack(Register base, RegList regs); |
| 146 void CopyRegistersFromStackToMemory(Register base, | 146 void CopyRegistersFromStackToMemory(Register base, |
| 147 Register scratch, | 147 Register scratch, |
| 148 RegList regs); | 148 RegList regs); |
| 149 void DebugBreak(); |
| 149 #endif | 150 #endif |
| 150 | 151 |
| 151 // --------------------------------------------------------------------------- | 152 // --------------------------------------------------------------------------- |
| 152 // Exception handling | 153 // Exception handling |
| 153 | 154 |
| 154 // Push a new try handler and link into try handler chain. | 155 // Push a new try handler and link into try handler chain. |
| 155 // The return address must be passed in register lr. | 156 // The return address must be passed in register lr. |
| 156 // On exit, r0 contains TOS (code slot). | 157 // On exit, r0 contains TOS (code slot). |
| 157 void PushTryHandler(CodeLocation try_location, HandlerType type); | 158 void PushTryHandler(CodeLocation try_location, HandlerType type); |
| 158 | 159 |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 494 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 494 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 495 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 495 #else | 496 #else |
| 496 #define ACCESS_MASM(masm) masm-> | 497 #define ACCESS_MASM(masm) masm-> |
| 497 #endif | 498 #endif |
| 498 | 499 |
| 499 | 500 |
| 500 } } // namespace v8::internal | 501 } } // namespace v8::internal |
| 501 | 502 |
| 502 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 503 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |