Revision: 22008
Author:   [email protected]
Date:     Wed Jun 25 12:06:03 2014 UTC
Log: Fix --trace-ic position information for LoadICs and StoreICs in optimized code

[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Tue Jun 24 14:03:24 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc     Wed Jun 25 12:06:03 2014 UTC
@@ -6512,6 +6512,7 @@
   ASSERT(!HasStackOverflow());
   ASSERT(current_block() != NULL);
   ASSERT(current_block()->HasPredecessor());
+  if (!FLAG_hydrogen_track_positions) SetSourcePosition(expr->position());
   VariableProxy* proxy = expr->target()->AsVariableProxy();
   Property* prop = expr->target()->AsProperty();
   ASSERT(proxy == NULL || prop == NULL);
@@ -7213,6 +7214,8 @@
   ASSERT(current_block() != NULL);
   ASSERT(current_block()->HasPredecessor());

+  if (!FLAG_hydrogen_track_positions) SetSourcePosition(expr->position());
+
   if (TryArgumentsAccess(expr)) return;

   CHECK_ALIVE(VisitForValue(expr->obj()));

--
--
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.

Reply via email to