| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 24 matching lines...) Expand all Loading... |
| 35 #include "parser.h" | 35 #include "parser.h" |
| 36 #include "scopes.h" | 36 #include "scopes.h" |
| 37 #include "stub-cache.h" | 37 #include "stub-cache.h" |
| 38 | 38 |
| 39 #if V8_TARGET_ARCH_IA32 | 39 #if V8_TARGET_ARCH_IA32 |
| 40 #include "ia32/lithium-codegen-ia32.h" | 40 #include "ia32/lithium-codegen-ia32.h" |
| 41 #elif V8_TARGET_ARCH_X64 | 41 #elif V8_TARGET_ARCH_X64 |
| 42 #include "x64/lithium-codegen-x64.h" | 42 #include "x64/lithium-codegen-x64.h" |
| 43 #elif V8_TARGET_ARCH_ARM | 43 #elif V8_TARGET_ARCH_ARM |
| 44 #include "arm/lithium-codegen-arm.h" | 44 #include "arm/lithium-codegen-arm.h" |
| 45 #elif V8_TARGET_ARCH_MIPS |
| 46 #include "mips/lithium-codegen-mips.h" |
| 45 #else | 47 #else |
| 46 #error Unsupported target architecture. | 48 #error Unsupported target architecture. |
| 47 #endif | 49 #endif |
| 48 | 50 |
| 49 namespace v8 { | 51 namespace v8 { |
| 50 namespace internal { | 52 namespace internal { |
| 51 | 53 |
| 52 HBasicBlock::HBasicBlock(HGraph* graph) | 54 HBasicBlock::HBasicBlock(HGraph* graph) |
| 53 : block_id_(graph->GetNextBlockID()), | 55 : block_id_(graph->GetNextBlockID()), |
| 54 graph_(graph), | 56 graph_(graph), |
| (...skipping 5871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5926 } | 5928 } |
| 5927 } | 5929 } |
| 5928 | 5930 |
| 5929 #ifdef DEBUG | 5931 #ifdef DEBUG |
| 5930 if (graph_ != NULL) graph_->Verify(); | 5932 if (graph_ != NULL) graph_->Verify(); |
| 5931 if (allocator_ != NULL) allocator_->Verify(); | 5933 if (allocator_ != NULL) allocator_->Verify(); |
| 5932 #endif | 5934 #endif |
| 5933 } | 5935 } |
| 5934 | 5936 |
| 5935 } } // namespace v8::internal | 5937 } } // namespace v8::internal |
| OLD | NEW |