| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 4c65c7f3b83bd4cce6b6a406619a898c3ccd6477..7a847db17223a93c3c25cc9777dc2a49f04d5cb9 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -2028,7 +2028,8 @@ class CallRuntime final : public Expression {
|
| return callruntime_feedback_slot_;
|
| }
|
|
|
| - static int num_ids() { return parent_num_ids(); }
|
| + static int num_ids() { return parent_num_ids() + 1; }
|
| + BailoutId CallId() { return BailoutId(local_id(0)); }
|
|
|
| protected:
|
| CallRuntime(Zone* zone, const AstRawString* name,
|
| @@ -2042,6 +2043,8 @@ class CallRuntime final : public Expression {
|
| static int parent_num_ids() { return Expression::num_ids(); }
|
|
|
| private:
|
| + int local_id(int n) const { return base_id() + parent_num_ids() + n; }
|
| +
|
| const AstRawString* raw_name_;
|
| const Runtime::Function* function_;
|
| ZoneList<Expression*>* arguments_;
|
|
|