Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: src/x64/cpu-x64.cc

Issue 2133003: Allow build-time selection between ia32 and x86_64 in the GYP/Xcode Mac Chromium build (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | src/x64/debug-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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
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 x64 independent of OS goes here. 28 // CPU specific code for x64 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_X64)
37
36 #include "cpu.h" 38 #include "cpu.h"
37 #include "macro-assembler.h" 39 #include "macro-assembler.h"
38 40
39 namespace v8 { 41 namespace v8 {
40 namespace internal { 42 namespace internal {
41 43
42 void CPU::Setup() { 44 void CPU::Setup() {
43 CpuFeatures::Probe(); 45 CpuFeatures::Probe();
44 } 46 }
45 47
(...skipping 24 matching lines...) Expand all
70 // To avoid Visual Studio runtime support the following code can be used 72 // To avoid Visual Studio runtime support the following code can be used
71 // instead 73 // instead
72 // __asm { int 3 } 74 // __asm { int 3 }
73 __debugbreak(); 75 __debugbreak();
74 #else 76 #else
75 asm("int $3"); 77 asm("int $3");
76 #endif 78 #endif
77 } 79 }
78 80
79 } } // namespace v8::internal 81 } } // namespace v8::internal
82
83 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | src/x64/debug-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698