Revision: 22637
Author:   yang...@chromium.org
Date:     Mon Jul 28 11:47:10 2014 UTC
Log: Properly propagate serialization flag when compiling hydrogen code stubs.

R=mvstan...@chromium.org

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

Modified:
 /branches/bleeding_edge/src/lithium.cc

=======================================
--- /branches/bleeding_edge/src/lithium.cc      Wed Jul  9 11:08:26 2014 UTC
+++ /branches/bleeding_edge/src/lithium.cc      Mon Jul 28 11:47:10 2014 UTC
@@ -438,6 +438,8 @@
   LOG_CODE_EVENT(info()->isolate(),
                  CodeStartLinePosInfoRecordEvent(
                      assembler.positions_recorder()));
+  // TODO(yangguo) remove this once the code serializer handles code stubs.
+  if (info()->will_serialize()) assembler.enable_serializer();
   LCodeGen generator(this, &assembler, info());

   MarkEmptyBlocks();

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to