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