Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Issue 508020: Check for undefined in the binary operation stub when convertion to... (Closed)

Created:
11 years ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Check for undefined in the binary operation stub when convertion to int32 for bitops. undefined converts to zero in ToInt32 conversions. Committed: http://code.google.com/p/v8/source/detail?r=3512

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -4 lines) Patch
M src/ia32/codegen-ia32.cc View 2 chunks +19 lines, -4 lines 0 comments Download
A test/mjsunit/bitwise-operations-undefined.js View 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (chromium)
11 years ago (2009-12-22 09:05:45 UTC) #1
Erik Corry
LGTM. Do we have tests for undefined on the lhs and rhs?
11 years ago (2009-12-22 09:36:16 UTC) #2
Mads Ager (chromium)
11 years ago (2009-12-22 09:48:17 UTC) #3
On 2009/12/22 09:36:16, Erik Corry wrote:
> LGTM.  Do we have tests for undefined on the lhs and rhs?

We do now.  Test added.

Powered by Google App Engine
This is Rietveld 408576698