Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: src/preparser.h

Issue 220473014: Make stray 'return' an early error (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parser.cc ('k') | src/preparser.cc » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/preparser.h
diff --git a/src/preparser.h b/src/preparser.h
index 3781631cca9e762ff3ec001351686ab0ace676ec..4d4e10402e0629c8e36329c135da6686a07617d8 100644
--- a/src/preparser.h
+++ b/src/preparser.h
@@ -922,7 +922,7 @@ class PreParserTraits {
return PreParserExpression::Default();
}
PreParserExpression NewThrowTypeError(
- const char* type, Handle<Object> arg1, Handle<Object> arg2, int pos) {
+ const char* type, Handle<Object> arg, int pos) {
return PreParserExpression::Default();
}
« no previous file with comments | « src/parser.cc ('k') | src/preparser.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698