I noticed that this is actually a known issue and it was called 
"deoptimizer reason overflow" in 
https://codereview.chromium.org/2040423002/. I will put up a change to add 
static assert below to avoid overflow.

Thanks,
Deon

On Friday, June 24, 2016 at 6:17:26 PM UTC-7, Deon Dior wrote:
>
> It seems that v8 limits the number of deopt message to be less than 64. If 
> I add a new deopt message, assembler will fail debug check 
> (DCHECK(rinfo->data() < (1 << kShortDataBits));) inside RelocInfoWriter. 
> Is there any workaround? Having a limit is not flexible. If the 
> restriction holds in future, can we add a static check in src/deoptimizer.h 
> "STATIC_ASSERT(kLastDeoptReason <= 64);"?
>
> Thanks,
> Deon
>

-- 
-- 
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.

Reply via email to