OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_JS_OPERATOR_H_ | 5 #ifndef V8_COMPILER_JS_OPERATOR_H_ |
6 #define V8_COMPILER_JS_OPERATOR_H_ | 6 #define V8_COMPILER_JS_OPERATOR_H_ |
7 | 7 |
8 #include "src/compiler/linkage.h" | |
9 #include "src/compiler/opcodes.h" | 8 #include "src/compiler/opcodes.h" |
10 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" |
11 #include "src/unique.h" | 10 #include "src/unique.h" |
12 #include "src/zone.h" | 11 #include "src/zone.h" |
13 | 12 |
14 namespace v8 { | 13 namespace v8 { |
15 namespace internal { | 14 namespace internal { |
16 namespace compiler { | 15 namespace compiler { |
17 | 16 |
18 // Defines the location of a context slot relative to a specific scope. This is | 17 // Defines the location of a context slot relative to a specific scope. This is |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 static int HashCode(Runtime::FunctionId val) { return static_cast<int>(val); } | 204 static int HashCode(Runtime::FunctionId val) { return static_cast<int>(val); } |
206 static bool Equals(Runtime::FunctionId a, Runtime::FunctionId b) { | 205 static bool Equals(Runtime::FunctionId a, Runtime::FunctionId b) { |
207 return a == b; | 206 return a == b; |
208 } | 207 } |
209 }; | 208 }; |
210 } | 209 } |
211 } | 210 } |
212 } // namespace v8::internal::compiler | 211 } // namespace v8::internal::compiler |
213 | 212 |
214 #endif // V8_COMPILER_JS_OPERATOR_H_ | 213 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |