Index: src/compiler/operator.h |
diff --git a/src/compiler/operator.h b/src/compiler/operator.h |
index 0cd0aaf1c2ce1e8389ad2b8512d60830e3935812..eba430f927c525e777213c4a762a587fd94cf1f2 100644 |
--- a/src/compiler/operator.h |
+++ b/src/compiler/operator.h |
@@ -217,6 +217,13 @@ inline Handle<String> const& OpParameter(const Operator* op) { |
->parameter(); |
} |
+template <> |
+inline Handle<ScopeInfo> const& OpParameter(const Operator* op) { |
+ return reinterpret_cast< |
+ const Operator1<Handle<ScopeInfo>, Handle<ScopeInfo>::equal_to, |
+ Handle<ScopeInfo>::hash>*>(op)->parameter(); |
+} |
+ |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |