| 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 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 const Operator* TypeOf(); | 552 const Operator* TypeOf(); |
| 553 const Operator* InstanceOf(); | 553 const Operator* InstanceOf(); |
| 554 | 554 |
| 555 const Operator* ForInDone(); | 555 const Operator* ForInDone(); |
| 556 const Operator* ForInNext(); | 556 const Operator* ForInNext(); |
| 557 const Operator* ForInPrepare(); | 557 const Operator* ForInPrepare(); |
| 558 const Operator* ForInStep(); | 558 const Operator* ForInStep(); |
| 559 | 559 |
| 560 const Operator* StackCheck(); | 560 const Operator* StackCheck(); |
| 561 | 561 |
| 562 // TODO(titzer): nail down the static parts of each of these context flavors. | |
| 563 const Operator* CreateFunctionContext(); | 562 const Operator* CreateFunctionContext(); |
| 564 const Operator* CreateCatchContext(const Handle<String>& name); | 563 const Operator* CreateCatchContext(const Handle<String>& name); |
| 565 const Operator* CreateWithContext(); | 564 const Operator* CreateWithContext(); |
| 566 const Operator* CreateBlockContext(); | 565 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); |
| 567 const Operator* CreateModuleContext(); | 566 const Operator* CreateModuleContext(); |
| 568 const Operator* CreateScriptContext(); | 567 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); |
| 569 | 568 |
| 570 private: | 569 private: |
| 571 Zone* zone() const { return zone_; } | 570 Zone* zone() const { return zone_; } |
| 572 | 571 |
| 573 const JSOperatorGlobalCache& cache_; | 572 const JSOperatorGlobalCache& cache_; |
| 574 Zone* const zone_; | 573 Zone* const zone_; |
| 575 | 574 |
| 576 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 575 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
| 577 }; | 576 }; |
| 578 | 577 |
| 579 } // namespace compiler | 578 } // namespace compiler |
| 580 } // namespace internal | 579 } // namespace internal |
| 581 } // namespace v8 | 580 } // namespace v8 |
| 582 | 581 |
| 583 #endif // V8_COMPILER_JS_OPERATOR_H_ | 582 #endif // V8_COMPILER_JS_OPERATOR_H_ |
| OLD | NEW |