Revision: 19413
Author: [email protected]
Date: Mon Feb 17 14:43:15 2014 UTC
Log: Support elements transitions in load elimination
BUG=
[email protected]
Review URL: https://codereview.chromium.org/167893007
http://code.google.com/p/v8/source/detail?r=19413
Modified:
/branches/bleeding_edge/src/hydrogen-load-elimination.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen-load-elimination.cc Wed Feb 12
12:34:14 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen-load-elimination.cc Mon Feb 17
14:43:15 2014 UTC
@@ -98,6 +98,13 @@
}
break;
}
+ case HValue::kTransitionElementsKind: {
+ HTransitionElementsKind* t = HTransitionElementsKind::cast(instr);
+ HValue* object = t->object()->ActualValue();
+ KillFieldInternal(object, FieldOf(JSArray::kElementsOffset), NULL);
+ KillFieldInternal(object, FieldOf(JSObject::kMapOffset), NULL);
+ break;
+ }
default: {
if (instr->CheckChangesFlag(kInobjectFields)) {
TRACE((" kill-all i%d\n", instr->id()));
--
--
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.