OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 20 matching lines...) Expand all Loading... |
31 #include "hydrogen.h" | 31 #include "hydrogen.h" |
32 | 32 |
33 #if V8_TARGET_ARCH_IA32 | 33 #if V8_TARGET_ARCH_IA32 |
34 #include "ia32/lithium-ia32.h" | 34 #include "ia32/lithium-ia32.h" |
35 #elif V8_TARGET_ARCH_X64 | 35 #elif V8_TARGET_ARCH_X64 |
36 #include "x64/lithium-x64.h" | 36 #include "x64/lithium-x64.h" |
37 #elif V8_TARGET_ARCH_ARM | 37 #elif V8_TARGET_ARCH_ARM |
38 #include "arm/lithium-arm.h" | 38 #include "arm/lithium-arm.h" |
39 #elif V8_TARGET_ARCH_MIPS | 39 #elif V8_TARGET_ARCH_MIPS |
40 #include "mips/lithium-mips.h" | 40 #include "mips/lithium-mips.h" |
| 41 #elif V8_TARGET_ARCH_SH4 |
| 42 #include "sh4/lithium-sh4.h" |
41 #else | 43 #else |
42 #error Unsupported target architecture. | 44 #error Unsupported target architecture. |
43 #endif | 45 #endif |
44 | 46 |
45 namespace v8 { | 47 namespace v8 { |
46 namespace internal { | 48 namespace internal { |
47 | 49 |
48 #define DEFINE_COMPILE(type) \ | 50 #define DEFINE_COMPILE(type) \ |
49 LInstruction* H##type::CompileToLithium(LChunkBuilder* builder) { \ | 51 LInstruction* H##type::CompileToLithium(LChunkBuilder* builder) { \ |
50 return builder->Do##type(this); \ | 52 return builder->Do##type(this); \ |
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2525 | 2527 |
2526 | 2528 |
2527 void HCheckFunction::Verify() { | 2529 void HCheckFunction::Verify() { |
2528 HInstruction::Verify(); | 2530 HInstruction::Verify(); |
2529 ASSERT(HasNoUses()); | 2531 ASSERT(HasNoUses()); |
2530 } | 2532 } |
2531 | 2533 |
2532 #endif | 2534 #endif |
2533 | 2535 |
2534 } } // namespace v8::internal | 2536 } } // namespace v8::internal |
OLD | NEW |