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/runtime/runtime.h" | 8 #include "src/runtime/runtime.h" |
9 #include "src/unique.h" | 9 #include "src/unique.h" |
10 | 10 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 const Operator* TypeOf(); | 252 const Operator* TypeOf(); |
253 const Operator* InstanceOf(); | 253 const Operator* InstanceOf(); |
254 const Operator* Debugger(); | 254 const Operator* Debugger(); |
255 | 255 |
256 // TODO(titzer): nail down the static parts of each of these context flavors. | 256 // TODO(titzer): nail down the static parts of each of these context flavors. |
257 const Operator* CreateFunctionContext(); | 257 const Operator* CreateFunctionContext(); |
258 const Operator* CreateCatchContext(const Unique<String>& name); | 258 const Operator* CreateCatchContext(const Unique<String>& name); |
259 const Operator* CreateWithContext(); | 259 const Operator* CreateWithContext(); |
260 const Operator* CreateBlockContext(); | 260 const Operator* CreateBlockContext(); |
261 const Operator* CreateModuleContext(); | 261 const Operator* CreateModuleContext(); |
262 const Operator* CreateGlobalContext(); | 262 const Operator* CreateScriptContext(); |
263 | 263 |
264 private: | 264 private: |
265 Zone* zone() const { return zone_; } | 265 Zone* zone() const { return zone_; } |
266 | 266 |
267 const JSOperatorGlobalCache& cache_; | 267 const JSOperatorGlobalCache& cache_; |
268 Zone* const zone_; | 268 Zone* const zone_; |
269 | 269 |
270 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 270 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
271 }; | 271 }; |
272 | 272 |
273 } // namespace compiler | 273 } // namespace compiler |
274 } // namespace internal | 274 } // namespace internal |
275 } // namespace v8 | 275 } // namespace v8 |
276 | 276 |
277 #endif // V8_COMPILER_JS_OPERATOR_H_ | 277 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |