Status: Accepted
Owner: ----
CC: [email protected], [email protected], [email protected]
Labels: Type-Bug Priority-Medium
New issue 3836 by [email protected]: Object rematerialization interferes
with field unboxing
https://code.google.com/p/v8/issues/detail?id=3836
If we deopt and have to rematerialize the object V8 apparently does it in a
way that leads to disabling field unboxing:
Repro:
function A() {
this.x = 1.1;
}
function nop(_) { return null; }
function id(x) { return x; }
function g(f) {
var a = new A();
return f(a);
}
g(nop);
g(nop);
%OptimizeFunctionOnNextCall(g);
g(nop);
g(nop);
var o1 = new A;
var o2 = f(id);
%DebugPrint(o1);
%DebugPrint(o2);
1. o1 and o2 have different maps, o1's map is deprecated
2. o1 has unboxed field x, o2 has just a normal heap number field x.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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.