| 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 25 matching lines...) Expand all Loading... |
| 36 #include "parser.h" | 36 #include "parser.h" |
| 37 #include "scopes.h" | 37 #include "scopes.h" |
| 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 |
| 47 #include "mips/lithium-codegen-mips.h" |
| 46 #else | 48 #else |
| 47 #error Unsupported target architecture. | 49 #error Unsupported target architecture. |
| 48 #endif | 50 #endif |
| 49 | 51 |
| 50 namespace v8 { | 52 namespace v8 { |
| 51 namespace internal { | 53 namespace internal { |
| 52 | 54 |
| 53 HBasicBlock::HBasicBlock(HGraph* graph) | 55 HBasicBlock::HBasicBlock(HGraph* graph) |
| 54 : block_id_(graph->GetNextBlockID()), | 56 : block_id_(graph->GetNextBlockID()), |
| 55 graph_(graph), | 57 graph_(graph), |
| (...skipping 5833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5889 } | 5891 } |
| 5890 } | 5892 } |
| 5891 | 5893 |
| 5892 #ifdef DEBUG | 5894 #ifdef DEBUG |
| 5893 if (graph_ != NULL) graph_->Verify(); | 5895 if (graph_ != NULL) graph_->Verify(); |
| 5894 if (allocator_ != NULL) allocator_->Verify(); | 5896 if (allocator_ != NULL) allocator_->Verify(); |
| 5895 #endif | 5897 #endif |
| 5896 } | 5898 } |
| 5897 | 5899 |
| 5898 } } // namespace v8::internal | 5900 } } // namespace v8::internal |
| OLD | NEW |