Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 9cd44212ca2f8513b6015299a1ebeea0697a429e..fe693371845c3f56c12d10e37a37debe1552aad3 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -257,7 +257,6 @@ class BytecodeArrayBuilder final : public ZoneObject, private RegisterMover { |
// entry, so that it can be referenced by above exception handling support. |
int NewHandlerEntry() { return handler_table_builder()->NewHandlerEntry(); } |
- void SetReturnPosition(FunctionLiteral* fun); |
void SetStatementPosition(Statement* stmt); |
void SetExpressionPosition(Expression* expr); |
@@ -335,6 +334,9 @@ class BytecodeArrayBuilder final : public ZoneObject, private RegisterMover { |
bool NeedToBooleanCast(); |
bool IsRegisterInAccumulator(Register reg); |
+ // Set position for implicit return. |
+ void SetReturnPosition(FunctionLiteral* fun); |
+ |
// Gets a constant pool entry for the |object|. |
size_t GetConstantPoolEntry(Handle<Object> object); |