Revision: 6698
Author: [email protected]
Date: Wed Feb 9 05:16:40 2011
Log: Fix typo in r6697: Use assertThrows correctly in the added test
regress-1122.js.
Review URL: http://codereview.chromium.org/6460030
http://code.google.com/p/v8/source/detail?r=6698
Modified:
/branches/bleeding_edge/src/parser.cc
/branches/bleeding_edge/test/mjsunit/regress/regress-1122.js
=======================================
--- /branches/bleeding_edge/src/parser.cc Wed Feb 9 04:46:22 2011
+++ /branches/bleeding_edge/src/parser.cc Wed Feb 9 05:16:40 2011
@@ -331,9 +331,6 @@
TemporaryScope::~TemporaryScope() {
*variable_ = parent_;
}
-
-
-const int Parser::kMaxNumFunctionParameters;
Handle<String> Parser::LookupSymbol(int symbol_id) {
=======================================
--- /branches/bleeding_edge/test/mjsunit/regress/regress-1122.js Wed Feb 9
04:46:22 2011
+++ /branches/bleeding_edge/test/mjsunit/regress/regress-1122.js Wed Feb 9
05:16:40 2011
@@ -51,5 +51,5 @@
assertEquals('prefix 9000 suffix', function_with_n_args(18000));
assertEquals('prefix 16000 suffix', function_with_n_args(32000));
-assertThrows(function_with_n_args(35000));
-assertThrows(function_with_n_args(100000));
+assertThrows("function_with_n_args(35000)");
+assertThrows("function_with_n_args(100000)");
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev