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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // CodeForStatementPosition | 65 // CodeForStatementPosition |
66 // CodeForDoWhileConditionPosition | 66 // CodeForDoWhileConditionPosition |
67 // CodeForSourcePosition | 67 // CodeForSourcePosition |
68 | 68 |
69 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; | 69 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; |
70 | 70 |
71 #if V8_TARGET_ARCH_IA32 | 71 #if V8_TARGET_ARCH_IA32 |
72 #include "ia32/codegen-ia32.h" | 72 #include "ia32/codegen-ia32.h" |
73 #elif V8_TARGET_ARCH_X64 | 73 #elif V8_TARGET_ARCH_X64 |
74 #include "x64/codegen-x64.h" | 74 #include "x64/codegen-x64.h" |
75 #elif V8_TARGET_ARCH_A64 | 75 #elif V8_TARGET_ARCH_ARM64 |
76 #include "a64/codegen-a64.h" | 76 #include "arm64/codegen-arm64.h" |
77 #elif V8_TARGET_ARCH_ARM | 77 #elif V8_TARGET_ARCH_ARM |
78 #include "arm/codegen-arm.h" | 78 #include "arm/codegen-arm.h" |
79 #elif V8_TARGET_ARCH_MIPS | 79 #elif V8_TARGET_ARCH_MIPS |
80 #include "mips/codegen-mips.h" | 80 #include "mips/codegen-mips.h" |
81 #else | 81 #else |
82 #error Unsupported target architecture. | 82 #error Unsupported target architecture. |
83 #endif | 83 #endif |
84 | 84 |
85 namespace v8 { | 85 namespace v8 { |
86 namespace internal { | 86 namespace internal { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 private: | 139 private: |
140 DISALLOW_COPY_AND_ASSIGN(ElementsTransitionGenerator); | 140 DISALLOW_COPY_AND_ASSIGN(ElementsTransitionGenerator); |
141 }; | 141 }; |
142 | 142 |
143 static const int kNumberDictionaryProbes = 4; | 143 static const int kNumberDictionaryProbes = 4; |
144 | 144 |
145 | 145 |
146 } } // namespace v8::internal | 146 } } // namespace v8::internal |
147 | 147 |
148 #endif // V8_CODEGEN_H_ | 148 #endif // V8_CODEGEN_H_ |
OLD | NEW |