Reviewers: rossberg,
Message:
ptal
Description:
Follow up to r20003.
(Fixing comments in tests.)
[email protected]
BUG=
Please review this at https://codereview.chromium.org/197323003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -2 lines):
M test/cctest/test-parsing.cc
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index
5ae7b527348e602047f8666e3d4482a2aff260bf..2e282cef8a52f0029680d45bae27b94a4a48ade6
100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -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; })()";
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.