Revision: 18694
Author:   [email protected]
Date:     Mon Jan 20 15:03:01 2014 UTC
Log:      Experimental parser: add braces.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/133343003
http://code.google.com/p/v8/source/detail?r=18694

Modified:
 /branches/experimental/parser/src/parser.cc

=======================================
--- /branches/experimental/parser/src/parser.cc Mon Jan 20 14:51:54 2014 UTC
+++ /branches/experimental/parser/src/parser.cc Mon Jan 20 15:03:01 2014 UTC
@@ -568,10 +568,11 @@
   FunctionLiteral* result;
   delete reusable_preparser_;
   delete scanner_;
-  if (source->IsTwoByteRepresentation())
+  if (source->IsTwoByteRepresentation()) {
     scanner_ = new ExperimentalScanner<uint16_t>(source, isolate());
-  else
+  } else {
     scanner_ = new ExperimentalScanner<uint8_t>(source, isolate());
+  }
   SetScannerFlags();
   scanner_->Init();
   result = DoParseProgram(info(), source);

--
--
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/groups/opt_out.

Reply via email to