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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 static ExternalReference GetAllocationLimitReference( | 271 static ExternalReference GetAllocationLimitReference( |
272 Isolate* isolate, AllocationFlags flags) { | 272 Isolate* isolate, AllocationFlags flags) { |
273 if ((flags & PRETENURE) != 0) { | 273 if ((flags & PRETENURE) != 0) { |
274 return ExternalReference::old_space_allocation_limit_address(isolate); | 274 return ExternalReference::old_space_allocation_limit_address(isolate); |
275 } | 275 } |
276 return ExternalReference::new_space_allocation_limit_address(isolate); | 276 return ExternalReference::new_space_allocation_limit_address(isolate); |
277 } | 277 } |
278 }; | 278 }; |
279 | 279 |
280 | 280 |
281 } } // namespace v8::internal | 281 } // namespace internal |
| 282 } // namespace v8 |
282 | 283 |
283 #endif // V8_MACRO_ASSEMBLER_H_ | 284 #endif // V8_MACRO_ASSEMBLER_H_ |
OLD | NEW |