OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 void set_generating_stub(bool value) { generating_stub_ = value; } | 1142 void set_generating_stub(bool value) { generating_stub_ = value; } |
1143 bool generating_stub() { return generating_stub_; } | 1143 bool generating_stub() { return generating_stub_; } |
1144 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } | 1144 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } |
1145 bool allow_stub_calls() { return allow_stub_calls_; } | 1145 bool allow_stub_calls() { return allow_stub_calls_; } |
1146 void set_has_frame(bool value) { has_frame_ = value; } | 1146 void set_has_frame(bool value) { has_frame_ = value; } |
1147 bool has_frame() { return has_frame_; } | 1147 bool has_frame() { return has_frame_; } |
1148 inline bool AllowThisStubCall(CodeStub* stub); | 1148 inline bool AllowThisStubCall(CodeStub* stub); |
1149 | 1149 |
1150 // EABI variant for double arguments in use. | 1150 // EABI variant for double arguments in use. |
1151 bool use_eabi_hardfloat() { | 1151 bool use_eabi_hardfloat() { |
1152 #if USE_EABI_HARDFLOAT | 1152 #ifdef __arm__ |
| 1153 return OS::ArmUsingHardFloat(); |
| 1154 #elif USE_EABI_HARDFLOAT |
1153 return true; | 1155 return true; |
1154 #else | 1156 #else |
1155 return false; | 1157 return false; |
1156 #endif | 1158 #endif |
1157 } | 1159 } |
1158 | 1160 |
1159 // --------------------------------------------------------------------------- | 1161 // --------------------------------------------------------------------------- |
1160 // Number utilities | 1162 // Number utilities |
1161 | 1163 |
1162 // Check whether the value of reg is a power of two and not zero. If not | 1164 // Check whether the value of reg is a power of two and not zero. If not |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1450 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1449 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1451 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1450 #else | 1452 #else |
1451 #define ACCESS_MASM(masm) masm-> | 1453 #define ACCESS_MASM(masm) masm-> |
1452 #endif | 1454 #endif |
1453 | 1455 |
1454 | 1456 |
1455 } } // namespace v8::internal | 1457 } } // namespace v8::internal |
1456 | 1458 |
1457 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1459 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |