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 27 matching lines...) Expand all Loading... |
38 #include "stub-cache.h" | 38 #include "stub-cache.h" |
39 | 39 |
40 #if V8_TARGET_ARCH_IA32 | 40 #if V8_TARGET_ARCH_IA32 |
41 #include "ia32/lithium-codegen-ia32.h" | 41 #include "ia32/lithium-codegen-ia32.h" |
42 #elif V8_TARGET_ARCH_X64 | 42 #elif V8_TARGET_ARCH_X64 |
43 #include "x64/lithium-codegen-x64.h" | 43 #include "x64/lithium-codegen-x64.h" |
44 #elif V8_TARGET_ARCH_ARM | 44 #elif V8_TARGET_ARCH_ARM |
45 #include "arm/lithium-codegen-arm.h" | 45 #include "arm/lithium-codegen-arm.h" |
46 #elif V8_TARGET_ARCH_MIPS | 46 #elif V8_TARGET_ARCH_MIPS |
47 #include "mips/lithium-codegen-mips.h" | 47 #include "mips/lithium-codegen-mips.h" |
| 48 #elif V8_TARGET_ARCH_SH4 |
| 49 #include "sh4/lithium-codegen-sh4.h" |
48 #else | 50 #else |
49 #error Unsupported target architecture. | 51 #error Unsupported target architecture. |
50 #endif | 52 #endif |
51 | 53 |
52 namespace v8 { | 54 namespace v8 { |
53 namespace internal { | 55 namespace internal { |
54 | 56 |
55 HBasicBlock::HBasicBlock(HGraph* graph) | 57 HBasicBlock::HBasicBlock(HGraph* graph) |
56 : block_id_(graph->GetNextBlockID()), | 58 : block_id_(graph->GetNextBlockID()), |
57 graph_(graph), | 59 graph_(graph), |
(...skipping 9953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10011 } | 10013 } |
10012 } | 10014 } |
10013 | 10015 |
10014 #ifdef DEBUG | 10016 #ifdef DEBUG |
10015 if (graph_ != NULL) graph_->Verify(false); // No full verify. | 10017 if (graph_ != NULL) graph_->Verify(false); // No full verify. |
10016 if (allocator_ != NULL) allocator_->Verify(); | 10018 if (allocator_ != NULL) allocator_->Verify(); |
10017 #endif | 10019 #endif |
10018 } | 10020 } |
10019 | 10021 |
10020 } } // namespace v8::internal | 10022 } } // namespace v8::internal |
OLD | NEW |