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

Issue 975001: Use untagged int32 values in evaluation of side-effect free expressions. (Closed)

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

Description

Use untagged int32 values in evaluation of side-effect free expressions. Committed: http://code.google.com/p/v8/source/detail?r=4148

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -107 lines) Patch
M src/ast.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/frame-element.h View 1 2 2 chunks +13 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 2 5 chunks +33 lines, -1 line 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 27 chunks +421 lines, -93 lines 0 comments Download
M src/ia32/register-allocator-ia32.cc View 1 2 2 chunks +56 lines, -5 lines 0 comments Download
M src/ia32/virtual-frame-ia32.h View 1 2 6 chunks +29 lines, -0 lines 0 comments Download
M src/ia32/virtual-frame-ia32.cc View 1 2 7 chunks +99 lines, -2 lines 0 comments Download
M src/register-allocator.h View 1 2 3 chunks +16 lines, -1 line 0 comments Download
M src/rewriter.cc View 1 2 5 chunks +19 lines, -2 lines 0 comments Download
M src/virtual-frame.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
10 years, 9 months ago (2010-03-15 15:47:54 UTC) #1
fschneider
LGTM with comments. http://codereview.chromium.org/975001/diff/1/4 File src/ia32/codegen-ia32.cc (right): http://codereview.chromium.org/975001/diff/1/4#newcode6999 src/ia32/codegen-ia32.cc:6999: if (left.is_register() && left.reg().is(edi)) { You ...
10 years, 9 months ago (2010-03-16 11:42:40 UTC) #2
William Hesse
10 years, 9 months ago (2010-03-17 09:32:26 UTC) #3
http://codereview.chromium.org/975001/diff/1/6
File src/ia32/virtual-frame-ia32.cc (right):

http://codereview.chromium.org/975001/diff/1/6#newcode822
src/ia32/virtual-frame-ia32.cc:822: __ cmp(FieldOperand(fresh_reg,
HeapObject::kMapOffset),
On 2010/03/16 11:42:40, fschneider wrote:
> Wrap the map check for heap number in a check for number info (and remove the
> todo comment):
> 
> if (!original.number_info().IsNumber()) {...}

Done.

Powered by Google App Engine
This is Rietveld 408576698