| 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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/frames.h" | 9 #include "src/frames.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1173 // Verify restrictions about code generated in stubs. | 1173 // Verify restrictions about code generated in stubs. |
| 1174 void set_generating_stub(bool value) { generating_stub_ = value; } | 1174 void set_generating_stub(bool value) { generating_stub_ = value; } |
| 1175 bool generating_stub() { return generating_stub_; } | 1175 bool generating_stub() { return generating_stub_; } |
| 1176 void set_has_frame(bool value) { has_frame_ = value; } | 1176 void set_has_frame(bool value) { has_frame_ = value; } |
| 1177 bool has_frame() { return has_frame_; } | 1177 bool has_frame() { return has_frame_; } |
| 1178 inline bool AllowThisStubCall(CodeStub* stub); | 1178 inline bool AllowThisStubCall(CodeStub* stub); |
| 1179 | 1179 |
| 1180 // EABI variant for double arguments in use. | 1180 // EABI variant for double arguments in use. |
| 1181 bool use_eabi_hardfloat() { | 1181 bool use_eabi_hardfloat() { |
| 1182 #ifdef __arm__ | 1182 #ifdef __arm__ |
| 1183 return OS::ArmUsingHardFloat(); | 1183 return base::OS::ArmUsingHardFloat(); |
| 1184 #elif USE_EABI_HARDFLOAT | 1184 #elif USE_EABI_HARDFLOAT |
| 1185 return true; | 1185 return true; |
| 1186 #else | 1186 #else |
| 1187 return false; | 1187 return false; |
| 1188 #endif | 1188 #endif |
| 1189 } | 1189 } |
| 1190 | 1190 |
| 1191 // --------------------------------------------------------------------------- | 1191 // --------------------------------------------------------------------------- |
| 1192 // Number utilities | 1192 // Number utilities |
| 1193 | 1193 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1614 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1614 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1615 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1615 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1616 #else | 1616 #else |
| 1617 #define ACCESS_MASM(masm) masm-> | 1617 #define ACCESS_MASM(masm) masm-> |
| 1618 #endif | 1618 #endif |
| 1619 | 1619 |
| 1620 | 1620 |
| 1621 } } // namespace v8::internal | 1621 } } // namespace v8::internal |
| 1622 | 1622 |
| 1623 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1623 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |