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

Side by Side Diff: src/codegen.h

Issue 150026: - Add a "#error Unsupported target architecture." where needed. A chain of... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 5 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 | « no previous file | 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Mode to overwrite BinaryExpression values. 70 // Mode to overwrite BinaryExpression values.
71 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; 71 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT };
72 72
73 73
74 #if V8_TARGET_ARCH_IA32 74 #if V8_TARGET_ARCH_IA32
75 #include "ia32/codegen-ia32.h" 75 #include "ia32/codegen-ia32.h"
76 #elif V8_TARGET_ARCH_X64 76 #elif V8_TARGET_ARCH_X64
77 #include "x64/codegen-x64.h" 77 #include "x64/codegen-x64.h"
78 #elif V8_TARGET_ARCH_ARM 78 #elif V8_TARGET_ARCH_ARM
79 #include "arm/codegen-arm.h" 79 #include "arm/codegen-arm.h"
80 #else
81 #error Unsupported target architecture.
80 #endif 82 #endif
81 83
82 #include "register-allocator.h" 84 #include "register-allocator.h"
83 85
84 namespace v8 { 86 namespace v8 {
85 namespace internal { 87 namespace internal {
86 88
87 89
88 // Code generation can be nested. Code generation scopes form a stack 90 // Code generation can be nested. Code generation scopes form a stack
89 // of active code generators. 91 // of active code generators.
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 PrintF("ArgumentsAccessStub (type %d)\n", type_); 377 PrintF("ArgumentsAccessStub (type %d)\n", type_);
376 } 378 }
377 #endif 379 #endif
378 }; 380 };
379 381
380 382
381 } // namespace internal 383 } // namespace internal
382 } // namespace v8 384 } // namespace v8
383 385
384 #endif // V8_CODEGEN_H_ 386 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698