This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chakrashim: handle Value::ToInteger overflow case
When value exceeds int range, should not call As<>() which asserts value range. Use direct cast to preserve the value. The code applies to Infinity, refactor and use the same code. Reviewed-by: @kunalspathak
- Loading branch information
Jianchun Xu
committed
Dec 3, 2015
1 parent
b6e38eb
commit f14d337
Showing
1 changed file
with
9 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters