Commit 06a444a1 authored by marja@chromium.org's avatar marja@chromium.org

Follow up to r20003.

(Fixing comments in tests.)

R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/197323003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20008 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e1e4071c
......@@ -312,12 +312,12 @@ TEST(PreparseSymbolDataIsUsed) {
CcTest::i_isolate()->stack_guard()->SetStackLimit(
reinterpret_cast<uintptr_t>(&marker) - 128 * 1024);
// Note that the ( before function makes the
// Note that the ( before function makes the function not lazily compiled.
const char* good_source =
"(function weird() { var foo = 26; return foo; })()";
// Insert an undefined identifier. If the preparser data is used, the symbol
// stream is used instead, and this identifier resolves correctly to"foo".
// stream is used instead, and this identifier resolves to "foo".
const char* bad_source =
"(function weird() { var foo = 26; return wut; })()";
......
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