Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 2e13810c406616d53ae8cadb881d29b19bd3ced5..510badfff1d8dae39a5de80139400675166bd768 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -1961,6 +1961,10 @@ class CallRuntime final : public Expression { |
DCHECK(is_jsruntime()); |
return context_index_; |
} |
+ int set_context_index(int index) { |
+ DCHECK(is_jsruntime()); |
+ return context_index_ = index; |
+ } |
const Runtime::Function* function() const { |
DCHECK(!is_jsruntime()); |
return function_; |