https://codereview.chromium.org/442253002/diff/1/src/compiler/instruction-selector.cc
File src/compiler/instruction-selector.cc (right):
https://codereview.chromium.org/442253002/diff/1/src/compiler/instruction-selector.cc#newcode1003
src/compiler/instruction-selector.cc:1003: descriptor->size(),
&inputs.front(), 0, NULL);
Nit: use inputs.size() instead of descriptor->size(). And maybe add a
check that they're equal.
https://codereview.chromium.org/442253002/diff/1/src/compiler/instruction.h
File src/compiler/instruction.h (right):
https://codereview.chromium.org/442253002/diff/1/src/compiler/instruction.h#newcode731
src/compiler/instruction.h:731: typedef
std::vector<FrameStateDescriptor*,
Why store pointers? FrameStateDescriptor is small, copying is cheap, so
using pointers here just wastes memory. Or am I missing something?
https://codereview.chromium.org/442253002/
--
--
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.