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

Side by Side Diff: src/codegen.h

Issue 99355: Introduce processor detection in globals.h, instead of from the build system. (Closed)
Patch Set: Guard 64-bit literals around 64-bit. Switch to long. Created 11 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
« no previous file with comments | « SConstruct ('k') | src/execution.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // CodeForFunctionPosition 69 // CodeForFunctionPosition
70 // CodeForReturnPosition 70 // CodeForReturnPosition
71 // CodeForStatementPosition 71 // CodeForStatementPosition
72 // CodeForSourcePosition 72 // CodeForSourcePosition
73 73
74 74
75 // Mode to overwrite BinaryExpression values. 75 // Mode to overwrite BinaryExpression values.
76 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; 76 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT };
77 77
78 78
79 #ifdef V8_ARCH_ARM 79 #if V8_TARGET_ARCH_IA32
80 #include "ia32/codegen-ia32.h"
81 #elif V8_TARGET_ARCH_X64
82 #include "x64/codegen-x64.h"
83 #elif V8_TARGET_ARCH_ARM
80 #include "arm/codegen-arm.h" 84 #include "arm/codegen-arm.h"
81 #endif 85 #endif
82 86
83 #ifdef V8_ARCH_X64
84 #include "x64/codegen-x64.h"
85 #endif
86
87 #ifdef V8_ARCH_IA32
88 #include "ia32/codegen-ia32.h"
89 #endif
90
91 namespace v8 { namespace internal { 87 namespace v8 { namespace internal {
92 88
93 89
94 // Use lazy compilation; defaults to true. 90 // Use lazy compilation; defaults to true.
95 // NOTE: Do not remove non-lazy compilation until we can properly 91 // NOTE: Do not remove non-lazy compilation until we can properly
96 // install extensions with lazy compilation enabled. At the 92 // install extensions with lazy compilation enabled. At the
97 // moment, this doesn't work for the extensions in Google3, 93 // moment, this doesn't work for the extensions in Google3,
98 // and we can only run the tests with --nolazy. 94 // and we can only run the tests with --nolazy.
99 95
100 96
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 PrintF("ArgumentsAccessStub (type %d)\n", type_); 312 PrintF("ArgumentsAccessStub (type %d)\n", type_);
317 } 313 }
318 #endif 314 #endif
319 }; 315 };
320 316
321 317
322 } // namespace internal 318 } // namespace internal
323 } // namespace v8 319 } // namespace v8
324 320
325 #endif // V8_CODEGEN_H_ 321 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « SConstruct ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698