Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index d39f8cdac57c4a0530064297013d30ae17e79516..84c926b5ec305ee7bbfc7af21660889ae549ef47 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -843,6 +843,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); |