| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_MACRO_ASSEMBLER_H_ | 5 #ifndef V8_MACRO_ASSEMBLER_H_ |
| 6 #define V8_MACRO_ASSEMBLER_H_ | 6 #define V8_MACRO_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 | 9 |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 // The content of the result register already contains the allocation top in | 24 // The content of the result register already contains the allocation top in |
| 25 // new space. | 25 // new space. |
| 26 RESULT_CONTAINS_TOP = 1 << 1, | 26 RESULT_CONTAINS_TOP = 1 << 1, |
| 27 // Specify that the requested size of the space to allocate is specified in | 27 // Specify that the requested size of the space to allocate is specified in |
| 28 // words instead of bytes. | 28 // words instead of bytes. |
| 29 SIZE_IN_WORDS = 1 << 2, | 29 SIZE_IN_WORDS = 1 << 2, |
| 30 // Align the allocation to a multiple of kDoubleSize | 30 // Align the allocation to a multiple of kDoubleSize |
| 31 DOUBLE_ALIGNMENT = 1 << 3, | 31 DOUBLE_ALIGNMENT = 1 << 3, |
| 32 // Directly allocate in old space | 32 // Directly allocate in old space |
| 33 PRETENURE = 1 << 4, | 33 PRETENURE = 1 << 4, |
| 34 // Allocation folding dominator |
| 35 ALLOCATION_FOLDING_DOMINATOR = 1 << 5, |
| 36 ALLOCATION_FOLDING_DOMINATED = 1 << 6 |
| 34 }; | 37 }; |
| 35 | 38 |
| 36 | |
| 37 #if V8_TARGET_ARCH_IA32 | 39 #if V8_TARGET_ARCH_IA32 |
| 38 #include "src/ia32/assembler-ia32.h" | 40 #include "src/ia32/assembler-ia32.h" |
| 39 #include "src/ia32/assembler-ia32-inl.h" | 41 #include "src/ia32/assembler-ia32-inl.h" |
| 40 #include "src/ia32/macro-assembler-ia32.h" | 42 #include "src/ia32/macro-assembler-ia32.h" |
| 41 #elif V8_TARGET_ARCH_X64 | 43 #elif V8_TARGET_ARCH_X64 |
| 42 #include "src/x64/assembler-x64.h" | 44 #include "src/x64/assembler-x64.h" |
| 43 #include "src/x64/assembler-x64-inl.h" | 45 #include "src/x64/assembler-x64-inl.h" |
| 44 #include "src/x64/macro-assembler-x64.h" | 46 #include "src/x64/macro-assembler-x64.h" |
| 45 #elif V8_TARGET_ARCH_ARM64 | 47 #elif V8_TARGET_ARCH_ARM64 |
| 46 #include "src/arm64/assembler-arm64.h" | 48 #include "src/arm64/assembler-arm64.h" |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 } | 282 } |
| 281 return ExternalReference::new_space_allocation_limit_address(isolate); | 283 return ExternalReference::new_space_allocation_limit_address(isolate); |
| 282 } | 284 } |
| 283 }; | 285 }; |
| 284 | 286 |
| 285 | 287 |
| 286 } // namespace internal | 288 } // namespace internal |
| 287 } // namespace v8 | 289 } // namespace v8 |
| 288 | 290 |
| 289 #endif // V8_MACRO_ASSEMBLER_H_ | 291 #endif // V8_MACRO_ASSEMBLER_H_ |
| OLD | NEW |