http://codereview.chromium.org/876001/diff/1/4
File src/data-flow.cc (right):
http://codereview.chromium.org/876001/diff/1/4#newcode1970
src/data-flow.cc:1970: PrintF("Def[%s] = {%d", *name, j);
On 2010/03/11 15:58:15, fschneider wrote:
I think you could just write
PrintF("Def[%s] = {%d", *var->name()->ToCString(), j);
here.
OK.
http://codereview.chromium.org/876001/diff/1/5
File src/data-flow.h (right):
http://codereview.chromium.org/876001/diff/1/5#newcode134
src/data-flow.h:134: ReachingDefinitionsData() : definitions_(NULL) {}
On 2010/03/11 15:58:15, fschneider wrote:
I'd initialize killed_ and generated also to NULL here.
Thanks.
http://codereview.chromium.org/876001/diff/1/5#newcode137
src/data-flow.h:137: BitVector* killed_;
On 2010/03/11 15:58:15, fschneider wrote:
It's just a naming issue, but we could shorten these to kill_ and gen_
since you
refer to them as GEN and KILL in the comments as well.
OK.
http://codereview.chromium.org/876001
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev