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

Side by Side Diff: src/codegen.h

Issue 99186: Create build structure for X64. (Closed)
Patch Set: 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
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 ARM 79 #ifdef V8_ARCH_ARM
Mads Ager (chromium) 2009/04/29 12:27:24 You need to update the other build systems as well
Lasse Reichstein 2009/04/29 13:05:41 Attempted done. No guarantees on the XCode project
80 #include "arm/codegen-arm.h" 80 #include "arm/codegen-arm.h"
81 #else 81 #endif
82
83 #ifdef V8_ARCH_X64
84 #include "x64/codegen-x64.h"
85 #endif
86
87 #ifdef V8_ARCH_IA32
82 #include "ia32/codegen-ia32.h" 88 #include "ia32/codegen-ia32.h"
83 #endif 89 #endif
84 90
85 namespace v8 { namespace internal { 91 namespace v8 { namespace internal {
86 92
87 93
88 // Use lazy compilation; defaults to true. 94 // Use lazy compilation; defaults to true.
89 // NOTE: Do not remove non-lazy compilation until we can properly 95 // NOTE: Do not remove non-lazy compilation until we can properly
90 // install extensions with lazy compilation enabled. At the 96 // install extensions with lazy compilation enabled. At the
91 // moment, this doesn't work for the extensions in Google3, 97 // moment, this doesn't work for the extensions in Google3,
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 PrintF("ArgumentsAccessStub (type %d)\n", type_); 316 PrintF("ArgumentsAccessStub (type %d)\n", type_);
311 } 317 }
312 #endif 318 #endif
313 }; 319 };
314 320
315 321
316 } // namespace internal 322 } // namespace internal
317 } // namespace v8 323 } // namespace v8
318 324
319 #endif // V8_CODEGEN_H_ 325 #endif // V8_CODEGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698