summaryrefslogtreecommitdiff
path: root/deps/v8/src/parsing/parameter-initializer-rewriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/parsing/parameter-initializer-rewriter.h')
-rw-r--r--deps/v8/src/parsing/parameter-initializer-rewriter.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/v8/src/parsing/parameter-initializer-rewriter.h b/deps/v8/src/parsing/parameter-initializer-rewriter.h
new file mode 100644
index 0000000000..255534c99e
--- /dev/null
+++ b/deps/v8/src/parsing/parameter-initializer-rewriter.h
@@ -0,0 +1,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_PARSING_PARAMETER_EXPRESSION_REWRITER_H_
+#define V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_
+
+#include "src/ast/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_PARSING_PARAMETER_EXPRESSION_REWRITER_H_