comments addressed
https://codereview.chromium.org/959203002/diff/20001/src/assembler.cc
File src/assembler.cc (right):
https://codereview.chromium.org/959203002/diff/20001/src/assembler.cc#newcode1663
src/assembler.cc:1663: int raw_position = position.IsUnknown() ? 0 :
position.raw();
On 2015/02/27 10:35:24, yurys wrote:
Can we change SourcePosition so that raw() value of
SourcePosition::Unknown() is
0 and avoid this code? Otherwise we rely on the fact that
position.raw() cannot
return 0 which is non-obvious.
We use RelocInfo::kNoPosition in many other places, so it'd be
non-trivial to fix. I'd rather do this in another patch.
https://codereview.chromium.org/959203002/diff/20001/src/objects.cc
File src/objects.cc (right):
https://codereview.chromium.org/959203002/diff/20001/src/objects.cc#newcode11269
src/objects.cc:11269: if (info.deopt_reason != Deoptimizer::kNoReason ||
pos.raw() != 0) {
On 2015/02/27 10:35:24, yurys wrote:
pos.raw() != 0 ==> !pos.IsUnknown()
Done.
https://codereview.chromium.org/959203002/
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.