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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 #else | 232 #else |
233 return false; | 233 return false; |
234 #endif | 234 #endif |
235 | 235 |
236 #elif GCC_VERSION < 40500 | 236 #elif GCC_VERSION < 40500 |
237 return false; | 237 return false; |
238 | 238 |
239 #else | 239 #else |
240 #if defined(__ARM_PCS_VFP) | 240 #if defined(__ARM_PCS_VFP) |
241 return true; | 241 return true; |
242 #elif defined(__ARM_PCS) || defined(__SOFTFP) || !defined(__VFP_FP__) | 242 #elif defined(__ARM_PCS) || defined(__SOFTFP__) || defined(__SOFTFP) || \ |
| 243 !defined(__VFP_FP__) |
243 return false; | 244 return false; |
244 #else | 245 #else |
245 #error "Your version of GCC does not report the FP ABI compiled for." \ | 246 #error "Your version of GCC does not report the FP ABI compiled for." \ |
246 "Please report it on this issue" \ | 247 "Please report it on this issue" \ |
247 "http://code.google.com/p/v8/issues/detail?id=2140" | 248 "http://code.google.com/p/v8/issues/detail?id=2140" |
248 | 249 |
249 #endif | 250 #endif |
250 #endif | 251 #endif |
251 #undef GCC_VERSION | 252 #undef GCC_VERSION |
252 } | 253 } |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 limit_mutex = CreateMutex(); | 761 limit_mutex = CreateMutex(); |
761 } | 762 } |
762 | 763 |
763 | 764 |
764 void OS::TearDown() { | 765 void OS::TearDown() { |
765 delete limit_mutex; | 766 delete limit_mutex; |
766 } | 767 } |
767 | 768 |
768 | 769 |
769 } } // namespace v8::internal | 770 } } // namespace v8::internal |
OLD | NEW |