| 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 21 matching lines...) Expand all  Loading... | 
| 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 2012 the V8 project authors. All rights reserved. | 35 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 36 | 36 | 
| 37 #include "src/v8.h" | 37 #include "src/v8.h" | 
| 38 | 38 | 
| 39 #if V8_TARGET_ARCH_ARM | 39 #if V8_TARGET_ARCH_ARM | 
| 40 | 40 | 
| 41 #include "src/arm/assembler-arm-inl.h" | 41 #include "src/arm/assembler-arm-inl.h" | 
|  | 42 #include "src/base/cpu.h" | 
| 42 #include "src/macro-assembler.h" | 43 #include "src/macro-assembler.h" | 
| 43 #include "src/serialize.h" | 44 #include "src/serialize.h" | 
| 44 | 45 | 
| 45 namespace v8 { | 46 namespace v8 { | 
| 46 namespace internal { | 47 namespace internal { | 
| 47 | 48 | 
| 48 // Get the CPU features enabled by the build. For cross compilation the | 49 // Get the CPU features enabled by the build. For cross compilation the | 
| 49 // preprocessor symbols CAN_USE_ARMV7_INSTRUCTIONS and CAN_USE_VFP3_INSTRUCTIONS | 50 // preprocessor symbols CAN_USE_ARMV7_INSTRUCTIONS and CAN_USE_VFP3_INSTRUCTIONS | 
| 50 // can be defined to enable ARMv7 and VFPv3 instructions when building the | 51 // can be defined to enable ARMv7 and VFPv3 instructions when building the | 
| 51 // snapshot. | 52 // snapshot. | 
| (...skipping 3618 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3670   ASSERT((index_64bit == count_of_64bit_) && | 3671   ASSERT((index_64bit == count_of_64bit_) && | 
| 3671          (index_code_ptr == (index_64bit + count_of_code_ptr_)) && | 3672          (index_code_ptr == (index_64bit + count_of_code_ptr_)) && | 
| 3672          (index_heap_ptr == (index_code_ptr + count_of_heap_ptr_)) && | 3673          (index_heap_ptr == (index_code_ptr + count_of_heap_ptr_)) && | 
| 3673          (index_32bit == (index_heap_ptr + count_of_32bit_))); | 3674          (index_32bit == (index_heap_ptr + count_of_32bit_))); | 
| 3674 } | 3675 } | 
| 3675 | 3676 | 
| 3676 | 3677 | 
| 3677 } }  // namespace v8::internal | 3678 } }  // namespace v8::internal | 
| 3678 | 3679 | 
| 3679 #endif  // V8_TARGET_ARCH_ARM | 3680 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW | 
|---|