diff options
Diffstat (limited to 'deps/v8/src/asmjs/asm-scanner.cc')
-rw-r--r-- | deps/v8/src/asmjs/asm-scanner.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/asmjs/asm-scanner.cc b/deps/v8/src/asmjs/asm-scanner.cc index eaff042d31c..73140867084 100644 --- a/deps/v8/src/asmjs/asm-scanner.cc +++ b/deps/v8/src/asmjs/asm-scanner.cc @@ -329,7 +329,7 @@ void AsmJsScanner::ConsumeNumber(uc32 ch) { token_ = kParseError; return; } - if (has_dot) { + if (has_dot || trunc(double_value_) != double_value_) { token_ = kDouble; } else { // Exceeding safe integer range is an error. |