Commit afec61e8 authored by whesse@chromium.org's avatar whesse@chromium.org

Fix typo in r6697: Use assertThrows correctly in the added test regress-1122.js.

Review URL: http://codereview.chromium.org/6460030

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6698 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 602d5cf4
......@@ -333,9 +333,6 @@ TemporaryScope::~TemporaryScope() {
}
const int Parser::kMaxNumFunctionParameters;
Handle<String> Parser::LookupSymbol(int symbol_id) {
// Length of symbol cache is the number of identified symbols.
// If we are larger than that, or negative, it's not a cached symbol.
......
......@@ -51,5 +51,5 @@ assertEquals('prefix 4000 suffix', function_with_n_args(8000));
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)");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment