OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 }; | 1266 }; |
1267 | 1267 |
1268 // --------------------------------------------------------------------------- | 1268 // --------------------------------------------------------------------------- |
1269 // Debugger Support | 1269 // Debugger Support |
1270 | 1270 |
1271 void DebugBreak(); | 1271 void DebugBreak(); |
1272 | 1272 |
1273 // --------------------------------------------------------------------------- | 1273 // --------------------------------------------------------------------------- |
1274 // Exception handling | 1274 // Exception handling |
1275 | 1275 |
1276 // Push a new try handler and link into try handler chain. | 1276 // Push a new stack handler and link into stack handler chain. |
1277 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 1277 void PushStackHandler(); |
1278 | 1278 |
1279 // Unlink the stack handler on top of the stack from the try handler chain. | 1279 // Unlink the stack handler on top of the stack from the stack handler chain. |
1280 // Must preserve the result register. | 1280 // Must preserve the result register. |
1281 void PopTryHandler(); | 1281 void PopStackHandler(); |
1282 | 1282 |
1283 | 1283 |
1284 // --------------------------------------------------------------------------- | 1284 // --------------------------------------------------------------------------- |
1285 // Allocation support | 1285 // Allocation support |
1286 | 1286 |
1287 // Allocate an object in new space or old pointer space. The object_size is | 1287 // Allocate an object in new space or old pointer space. The object_size is |
1288 // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS | 1288 // specified either in bytes or in words if the allocation flag SIZE_IN_WORDS |
1289 // is passed. The allocated object is returned in result. | 1289 // is passed. The allocated object is returned in result. |
1290 // | 1290 // |
1291 // If the new space is exhausted control continues at the gc_required label. | 1291 // If the new space is exhausted control continues at the gc_required label. |
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2298 #error "Unsupported option" | 2298 #error "Unsupported option" |
2299 #define CODE_COVERAGE_STRINGIFY(x) #x | 2299 #define CODE_COVERAGE_STRINGIFY(x) #x |
2300 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2300 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2301 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2301 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2302 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2302 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2303 #else | 2303 #else |
2304 #define ACCESS_MASM(masm) masm-> | 2304 #define ACCESS_MASM(masm) masm-> |
2305 #endif | 2305 #endif |
2306 | 2306 |
2307 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2307 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |