Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index 0e1d0023812177ade43e8e584ac6c200bdb933eb..c897d7b23d646736c9e671fba471b9b3cffb5198 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -860,6 +860,14 @@ const Operator* JSOperatorBuilder::CreateFunctionContext(int slot_count) { |
slot_count); // parameter |
} |
+const Operator* JSOperatorBuilder::CreateEvalContext(int slot_count) { |
+ return new (zone()) Operator1<int>( // -- |
+ IrOpcode::kJSCreateEvalContext, Operator::kNoProperties, // opcode |
+ "JSCreateEvalContext", // name |
+ 1, 1, 1, 1, 1, 2, // counts |
+ slot_count); // parameter |
+} |
+ |
const Operator* JSOperatorBuilder::CreateCatchContext( |
const Handle<String>& name, const Handle<ScopeInfo>& scope_info) { |
CreateCatchContextParameters parameters(name, scope_info); |