OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 masm_->use_real_aborts_ = false; | 1271 masm_->use_real_aborts_ = false; |
1272 } | 1272 } |
1273 ~NoUseRealAbortsScope() { | 1273 ~NoUseRealAbortsScope() { |
1274 masm_->use_real_aborts_ = saved_; | 1274 masm_->use_real_aborts_ = saved_; |
1275 } | 1275 } |
1276 private: | 1276 private: |
1277 bool saved_; | 1277 bool saved_; |
1278 MacroAssembler* masm_; | 1278 MacroAssembler* masm_; |
1279 }; | 1279 }; |
1280 | 1280 |
1281 #ifdef ENABLE_DEBUGGER_SUPPORT | |
1282 // --------------------------------------------------------------------------- | 1281 // --------------------------------------------------------------------------- |
1283 // Debugger Support | 1282 // Debugger Support |
1284 | 1283 |
1285 void DebugBreak(); | 1284 void DebugBreak(); |
1286 #endif | 1285 |
1287 // --------------------------------------------------------------------------- | 1286 // --------------------------------------------------------------------------- |
1288 // Exception handling | 1287 // Exception handling |
1289 | 1288 |
1290 // Push a new try handler and link into try handler chain. | 1289 // Push a new try handler and link into try handler chain. |
1291 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 1290 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
1292 | 1291 |
1293 // Unlink the stack handler on top of the stack from the try handler chain. | 1292 // Unlink the stack handler on top of the stack from the try handler chain. |
1294 // Must preserve the result register. | 1293 // Must preserve the result register. |
1295 void PopTryHandler(); | 1294 void PopTryHandler(); |
1296 | 1295 |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2308 #error "Unsupported option" | 2307 #error "Unsupported option" |
2309 #define CODE_COVERAGE_STRINGIFY(x) #x | 2308 #define CODE_COVERAGE_STRINGIFY(x) #x |
2310 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2309 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2311 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2310 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2312 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2311 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2313 #else | 2312 #else |
2314 #define ACCESS_MASM(masm) masm-> | 2313 #define ACCESS_MASM(masm) masm-> |
2315 #endif | 2314 #endif |
2316 | 2315 |
2317 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2316 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |