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" |
8 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
9 #include "src/compiler/operator.h" | 10 #include "src/compiler/operator.h" |
10 #include "src/unique.h" | 11 #include "src/unique.h" |
11 #include "src/zone.h" | 12 #include "src/zone.h" |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 namespace compiler { | 16 namespace compiler { |
16 | 17 |
17 // Defines the location of a context slot relative to a specific scope. This is | 18 // 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... |
204 static int HashCode(Runtime::FunctionId val) { return static_cast<int>(val); } | 205 static int HashCode(Runtime::FunctionId val) { return static_cast<int>(val); } |
205 static bool Equals(Runtime::FunctionId a, Runtime::FunctionId b) { | 206 static bool Equals(Runtime::FunctionId a, Runtime::FunctionId b) { |
206 return a == b; | 207 return a == b; |
207 } | 208 } |
208 }; | 209 }; |
209 } | 210 } |
210 } | 211 } |
211 } // namespace v8::internal::compiler | 212 } // namespace v8::internal::compiler |
212 | 213 |
213 #endif // V8_COMPILER_JS_OPERATOR_H_ | 214 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |