summaryrefslogtreecommitdiff
path: root/deps/v8/src/parameter-initializer-rewriter.h
blob: a195cb600ff7cca8e70718538d4fb4d6d8c39d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_PARAMETER_EXPRESSION_REWRITER_H_
#define V8_PARAMETER_EXPRESSION_REWRITER_H_

#include "src/ast.h"

namespace v8 {
namespace internal {


void RewriteParameterInitializerScope(uintptr_t stack_limit,
                                      Expression* initializer, Scope* old_scope,
                                      Scope* new_scope);


}  // namespace internal
}  // namespace v8

#endif  // V8_PARAMETER_EXPRESSION_REWRITER_H_