Revision: 18356
Author: [email protected]
Date: Wed Dec 18 17:16:25 2013 UTC
Log: Use constant 0 instead of constant null when clearing map words
during allocation folding.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/112673002
http://code.google.com/p/v8/source/detail?r=18356
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Dec 18
10:40:26 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Dec 18
17:16:25 2013 UTC
@@ -3640,7 +3640,7 @@
HObjectAccess access = HObjectAccess::ForJSObjectOffset(offset);
HStoreNamedField* clear_next_map =
HStoreNamedField::New(zone, context(), this, access,
- block()->graph()->GetConstantNull());
+ block()->graph()->GetConstant0());
clear_next_map->ClearAllSideEffects();
clear_next_map->InsertAfter(this);
}
--
--
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.