Revision: 20008
Author: [email protected]
Date: Mon Mar 17 16:04:47 2014 UTC
Log: Follow up to r20003.
(Fixing comments in tests.)
[email protected]
BUG=
Review URL: https://codereview.chromium.org/197323003
http://code.google.com/p/v8/source/detail?r=20008
Modified:
/branches/bleeding_edge/test/cctest/test-parsing.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-parsing.cc Mon Mar 17 15:06:33
2014 UTC
+++ /branches/bleeding_edge/test/cctest/test-parsing.cc Mon Mar 17 16:04:47
2014 UTC
@@ -312,12 +312,12 @@
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.