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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1298 Label* gc_required, | 1298 Label* gc_required, |
1299 AllocationFlags flags); | 1299 AllocationFlags flags); |
1300 | 1300 |
1301 void Allocate(int object_size, | 1301 void Allocate(int object_size, |
1302 Register result, | 1302 Register result, |
1303 Register scratch1, | 1303 Register scratch1, |
1304 Register scratch2, | 1304 Register scratch2, |
1305 Label* gc_required, | 1305 Label* gc_required, |
1306 AllocationFlags flags); | 1306 AllocationFlags flags); |
1307 | 1307 |
1308 // Undo allocation in new space. The object passed and objects allocated after | |
1309 // it will no longer be allocated. The caller must make sure that no pointers | |
1310 // are left to the object(s) no longer allocated as they would be invalid when | |
1311 // allocation is undone. | |
1312 void UndoAllocationInNewSpace(Register object, Register scratch); | |
1313 | |
1314 void AllocateTwoByteString(Register result, | 1308 void AllocateTwoByteString(Register result, |
1315 Register length, | 1309 Register length, |
1316 Register scratch1, | 1310 Register scratch1, |
1317 Register scratch2, | 1311 Register scratch2, |
1318 Register scratch3, | 1312 Register scratch3, |
1319 Label* gc_required); | 1313 Label* gc_required); |
1320 void AllocateOneByteString(Register result, Register length, | 1314 void AllocateOneByteString(Register result, Register length, |
1321 Register scratch1, Register scratch2, | 1315 Register scratch1, Register scratch2, |
1322 Register scratch3, Label* gc_required); | 1316 Register scratch3, Label* gc_required); |
1323 void AllocateTwoByteConsString(Register result, | 1317 void AllocateTwoByteConsString(Register result, |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2298 #error "Unsupported option" | 2292 #error "Unsupported option" |
2299 #define CODE_COVERAGE_STRINGIFY(x) #x | 2293 #define CODE_COVERAGE_STRINGIFY(x) #x |
2300 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2294 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2301 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2295 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2302 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2296 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2303 #else | 2297 #else |
2304 #define ACCESS_MASM(masm) masm-> | 2298 #define ACCESS_MASM(masm) masm-> |
2305 #endif | 2299 #endif |
2306 | 2300 |
2307 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2301 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |