| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 29 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 30 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 30 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 31 // OF THE POSSIBILITY OF SUCH DAMAGE. | 31 // OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | 32 |
| 33 // The original source code covered by the above license above has been | 33 // The original source code covered by the above license above has been |
| 34 // modified significantly by Google Inc. | 34 // modified significantly by Google Inc. |
| 35 // Copyright 2010 the V8 project authors. All rights reserved. | 35 // Copyright 2010 the V8 project authors. All rights reserved. |
| 36 | 36 |
| 37 #include "v8.h" | 37 #include "v8.h" |
| 38 | 38 |
| 39 #if defined(V8_TARGET_ARCH_ARM) && defined(V8_ARM_VARIANT_THUMB) |
| 40 |
| 39 #include "arm/assembler-thumb2-inl.h" | 41 #include "arm/assembler-thumb2-inl.h" |
| 40 #include "serialize.h" | 42 #include "serialize.h" |
| 41 | 43 |
| 42 namespace v8 { | 44 namespace v8 { |
| 43 namespace internal { | 45 namespace internal { |
| 44 | 46 |
| 45 // Safe default is no features. | 47 // Safe default is no features. |
| 46 unsigned CpuFeatures::supported_ = 0; | 48 unsigned CpuFeatures::supported_ = 0; |
| 47 unsigned CpuFeatures::enabled_ = 0; | 49 unsigned CpuFeatures::enabled_ = 0; |
| 48 unsigned CpuFeatures::found_by_runtime_probing_ = 0; | 50 unsigned CpuFeatures::found_by_runtime_probing_ = 0; |
| (...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1869 bind(&after_pool); | 1871 bind(&after_pool); |
| 1870 } | 1872 } |
| 1871 | 1873 |
| 1872 // Since a constant pool was just emitted, move the check offset forward by | 1874 // Since a constant pool was just emitted, move the check offset forward by |
| 1873 // the standard interval. | 1875 // the standard interval. |
| 1874 next_buffer_check_ = pc_offset() + kCheckConstInterval; | 1876 next_buffer_check_ = pc_offset() + kCheckConstInterval; |
| 1875 } | 1877 } |
| 1876 | 1878 |
| 1877 | 1879 |
| 1878 } } // namespace v8::internal | 1880 } } // namespace v8::internal |
| 1881 |
| 1882 #endif // V8_TARGET_ARCH_ARM && V8_ARM_VARIANT_THUMB |
| OLD | NEW |