OLD | NEW |
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 Loading... |
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 ARM |
80 #include "codegen-arm.h" | 80 #include "arm/codegen-arm.h" |
81 #else | 81 #else |
82 #include "codegen-ia32.h" | 82 #include "ia32/codegen-ia32.h" |
83 #endif | 83 #endif |
84 | 84 |
85 namespace v8 { namespace internal { | 85 namespace v8 { namespace internal { |
86 | 86 |
87 | 87 |
88 // Use lazy compilation; defaults to true. | 88 // Use lazy compilation; defaults to true. |
89 // NOTE: Do not remove non-lazy compilation until we can properly | 89 // NOTE: Do not remove non-lazy compilation until we can properly |
90 // install extensions with lazy compilation enabled. At the | 90 // install extensions with lazy compilation enabled. At the |
91 // moment, this doesn't work for the extensions in Google3, | 91 // moment, this doesn't work for the extensions in Google3, |
92 // and we can only run the tests with --nolazy. | 92 // and we can only run the tests with --nolazy. |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 PrintF("ArgumentsAccessStub (type %d)\n", type_); | 307 PrintF("ArgumentsAccessStub (type %d)\n", type_); |
308 } | 308 } |
309 #endif | 309 #endif |
310 }; | 310 }; |
311 | 311 |
312 | 312 |
313 } // namespace internal | 313 } // namespace internal |
314 } // namespace v8 | 314 } // namespace v8 |
315 | 315 |
316 #endif // V8_CODEGEN_H_ | 316 #endif // V8_CODEGEN_H_ |
OLD | NEW |