Revision: 21162
Author: [email protected]
Date: Tue May 6 11:05:52 2014 UTC
Log: Pass dependency to HLoadNamedField for array length load
BUG=
[email protected]
Review URL: https://codereview.chromium.org/267773004
Patch from Jing Bao <[email protected]>.
http://code.google.com/p/v8/source/detail?r=21162
Modified:
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Tue May 6 09:28:08 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc Tue May 6 11:05:52 2014 UTC
@@ -2145,7 +2145,7 @@
HInstruction* length = NULL;
if (is_js_array) {
length = Add<HLoadNamedField>(
- checked_object, static_cast<HValue*>(NULL),
+ checked_object->ActualValue(), checked_object,
HObjectAccess::ForArrayLength(elements_kind));
} else {
length = AddLoadFixedArrayLength(elements);
--
--
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.