OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 15 matching lines...) Expand all Loading... |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 // CPU specific code for ia32 independent of OS goes here. | 28 // CPU specific code for ia32 independent of OS goes here. |
29 | 29 |
30 #ifdef __GNUC__ | 30 #ifdef __GNUC__ |
31 #include "third_party/valgrind/valgrind.h" | 31 #include "third_party/valgrind/valgrind.h" |
32 #endif | 32 #endif |
33 | 33 |
34 #include "v8.h" | 34 #include "v8.h" |
35 | 35 |
36 #if defined(V8_TARGET_ARCH_IA32) | 36 #if V8_TARGET_ARCH_IA32 |
37 | 37 |
38 #include "cpu.h" | 38 #include "cpu.h" |
39 #include "macro-assembler.h" | 39 #include "macro-assembler.h" |
40 | 40 |
41 namespace v8 { | 41 namespace v8 { |
42 namespace internal { | 42 namespace internal { |
43 | 43 |
44 void CPU::SetUp() { | 44 void CPU::SetUp() { |
45 CpuFeatures::Probe(); | 45 CpuFeatures::Probe(); |
46 } | 46 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 #elif defined(__native_client__) | 82 #elif defined(__native_client__) |
83 asm("hlt"); | 83 asm("hlt"); |
84 #else | 84 #else |
85 asm("int $3"); | 85 asm("int $3"); |
86 #endif | 86 #endif |
87 } | 87 } |
88 | 88 |
89 } } // namespace v8::internal | 89 } } // namespace v8::internal |
90 | 90 |
91 #endif // V8_TARGET_ARCH_IA32 | 91 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |