| 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 21 matching lines...) Expand all Loading... |
| 32 #include "codegen.h" | 32 #include "codegen.h" |
| 33 #include "compiler.h" | 33 #include "compiler.h" |
| 34 #include "register-allocator-inl.h" | 34 #include "register-allocator-inl.h" |
| 35 | 35 |
| 36 #if V8_TARGET_ARCH_IA32 | 36 #if V8_TARGET_ARCH_IA32 |
| 37 #include "ia32/codegen-ia32-inl.h" | 37 #include "ia32/codegen-ia32-inl.h" |
| 38 #elif V8_TARGET_ARCH_X64 | 38 #elif V8_TARGET_ARCH_X64 |
| 39 #include "x64/codegen-x64-inl.h" | 39 #include "x64/codegen-x64-inl.h" |
| 40 #elif V8_TARGET_ARCH_ARM | 40 #elif V8_TARGET_ARCH_ARM |
| 41 #include "arm/codegen-arm-inl.h" | 41 #include "arm/codegen-arm-inl.h" |
| 42 #elif V8_TARGET_ARCH_MIPS |
| 43 #include "mips/codegen-mips-inl.h" |
| 42 #else | 44 #else |
| 43 #error Unsupported target architecture. | 45 #error Unsupported target architecture. |
| 44 #endif | 46 #endif |
| 45 | 47 |
| 46 | 48 |
| 47 namespace v8 { | 49 namespace v8 { |
| 48 namespace internal { | 50 namespace internal { |
| 49 | 51 |
| 50 #define __ ACCESS_MASM(masm_) | 52 #define __ ACCESS_MASM(masm_) |
| 51 | 53 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 #endif // DEBUG | 88 #endif // DEBUG |
| 87 | 89 |
| 88 #undef __ | 90 #undef __ |
| 89 | 91 |
| 90 | 92 |
| 91 } } // namespace v8::internal | 93 } } // namespace v8::internal |
| 92 | 94 |
| 93 #endif // V8_CODEGEN_INL_H_ | 95 #endif // V8_CODEGEN_INL_H_ |
| OLD | NEW |