| 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 | 8 |
| 9 // Helper types to make boolean flag easier to read at call-site. | 9 // Helper types to make boolean flag easier to read at call-site. |
| 10 enum InvokeFlag { | 10 enum InvokeFlag { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "arm/assembler-arm-inl.h" | 64 #include "arm/assembler-arm-inl.h" |
| 65 #include "code.h" // must be after assembler_*.h | 65 #include "code.h" // must be after assembler_*.h |
| 66 #include "arm/macro-assembler-arm.h" | 66 #include "arm/macro-assembler-arm.h" |
| 67 #elif V8_TARGET_ARCH_MIPS | 67 #elif V8_TARGET_ARCH_MIPS |
| 68 #include "mips/constants-mips.h" | 68 #include "mips/constants-mips.h" |
| 69 #include "assembler.h" | 69 #include "assembler.h" |
| 70 #include "mips/assembler-mips.h" | 70 #include "mips/assembler-mips.h" |
| 71 #include "mips/assembler-mips-inl.h" | 71 #include "mips/assembler-mips-inl.h" |
| 72 #include "code.h" // must be after assembler_*.h | 72 #include "code.h" // must be after assembler_*.h |
| 73 #include "mips/macro-assembler-mips.h" | 73 #include "mips/macro-assembler-mips.h" |
| 74 #elif V8_TARGET_ARCH_X87 |
| 75 #include "assembler.h" |
| 76 #include "x87/assembler-x87.h" |
| 77 #include "x87/assembler-x87-inl.h" |
| 78 #include "code.h" // must be after assembler_*.h |
| 79 #include "x87/macro-assembler-x87.h" |
| 74 #else | 80 #else |
| 75 #error Unsupported target architecture. | 81 #error Unsupported target architecture. |
| 76 #endif | 82 #endif |
| 77 | 83 |
| 78 namespace v8 { | 84 namespace v8 { |
| 79 namespace internal { | 85 namespace internal { |
| 80 | 86 |
| 81 class FrameScope { | 87 class FrameScope { |
| 82 public: | 88 public: |
| 83 explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) | 89 explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 isolate); | 189 isolate); |
| 184 } | 190 } |
| 185 return ExternalReference::new_space_allocation_limit_address(isolate); | 191 return ExternalReference::new_space_allocation_limit_address(isolate); |
| 186 } | 192 } |
| 187 }; | 193 }; |
| 188 | 194 |
| 189 | 195 |
| 190 } } // namespace v8::internal | 196 } } // namespace v8::internal |
| 191 | 197 |
| 192 #endif // V8_MACRO_ASSEMBLER_H_ | 198 #endif // V8_MACRO_ASSEMBLER_H_ |
| OLD | NEW |