Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 175228dd88c43225151b0d310e51bf291ab2bd4d..b23247b907c86eda9aa2c633acfea58356494a41 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -116,7 +116,9 @@ class AstGraphBuilder : public StructuredGraphBuilder, public AstVisitor { |
// Builder for stack-check guards. |
Node* BuildStackCheck(); |
- bool IsOsrLoopEntry(IterationStatement* stmt); |
+ // Check if the given statement is an OSR entry. |
+ // If so, record the stack height into the compilation and return {true}. |
+ bool CheckOsrEntry(IterationStatement* stmt); |
#define DECLARE_VISIT(type) void Visit##type(type* node) OVERRIDE; |