Revision: 18781
Author: [email protected]
Date: Thu Jan 23 14:20:48 2014 UTC
Log: In HObjectAccess::ForField pass property name down into
HObjectAccess for in-object fields.
This makes hydrogen.cfg more readable (property name becomes visible in
addition to offset).
[email protected]
BUG=
Review URL: https://codereview.chromium.org/132923004
http://code.google.com/p/v8/source/detail?r=18781
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Jan 23
13:02:27 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Jan 23
14:20:48 2014 UTC
@@ -4345,7 +4345,7 @@
// Negative property indices are in-object properties, indexed
// from the end of the fixed part of the object.
int offset = (index * kPointerSize) + map->instance_size();
- return HObjectAccess(kInobject, offset, representation);
+ return HObjectAccess(kInobject, offset, representation, name);
} else {
// Non-negative property indices are in the properties array.
int offset = (index * kPointerSize) + FixedArray::kHeaderSize;
--
--
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.