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

Issue 1089004: Add binary operations with constants to the safe-int32 expression compiler. (Closed)

Created:
10 years, 9 months ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

Add binary operations with constants to the safe-int32 expression compiler. Committed: http://code.google.com/p/v8/source/detail?r=4230

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -17 lines) Patch
M src/ia32/codegen-ia32.cc View 2 chunks +64 lines, -17 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
10 years, 9 months ago (2010-03-19 14:08:53 UTC) #1
fschneider
LGTM. http://codereview.chromium.org/1089004/diff/1/2 File src/ia32/codegen-ia32.cc (right): http://codereview.chromium.org/1089004/diff/1/2#newcode7134 src/ia32/codegen-ia32.cc:7134: left.ToRegister(); Do we need right.ToRegister() here as well?
10 years, 9 months ago (2010-03-22 10:30:42 UTC) #2
William Hesse
10 years, 9 months ago (2010-03-23 10:19:45 UTC) #3
http://codereview.chromium.org/1089004/diff/1/2
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/1089004/diff/1/2#newcode7134
src/ia32/codegen-ia32.cc:7134: left.ToRegister();
On 2010/03/22 10:30:42, fschneider wrote:
> Do we need right.ToRegister() here as well?

No.  If right is a constant we never get to this block.

Powered by Google App Engine
This is Rietveld 408576698