Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: src/ast/ast.h

Issue 2287543002: Catch marking
Patch Set: Fix symbols Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ast/ast-numbering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | src/ast/ast-numbering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698