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

Issue 668151: Make more use of the NumberInfo data.... (Closed)

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

Description

Make more use of the NumberInfo data. Makes NumberInfo into a real class. Fix bug where NumberInfo was lost in ToRegister. Allow 17 bits in safe Smis instead of 16. Committed: http://code.google.com/p/v8/source/detail?r=4046

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 19
Unified diffs Side-by-side diffs Delta from patch set Stats (+601 lines, -266 lines) Patch
M src/frame-element.h View 7 chunks +15 lines, -15 lines 0 comments Download
M src/ia32/codegen-ia32.h View 8 chunks +11 lines, -8 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 53 chunks +401 lines, -166 lines 13 comments Download
M src/ia32/full-codegen-ia32.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M src/ia32/register-allocator-ia32.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/virtual-frame-ia32.h View 2 chunks +5 lines, -5 lines 0 comments Download
M src/ia32/virtual-frame-ia32.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M src/jump-target.cc View 5 chunks +6 lines, -7 lines 0 comments Download
M src/jump-target-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/number-info.h View 1 chunk +117 lines, -21 lines 1 comment Download
M src/register-allocator.h View 1 3 chunks +10 lines, -11 lines 2 comments Download
M src/register-allocator.cc View 2 chunks +10 lines, -10 lines 3 comments Download
M src/virtual-frame.cc View 4 chunks +11 lines, -11 lines 0 comments Download
M src/virtual-frame-inl.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Erik Corry
10 years, 9 months ago (2010-03-05 11:55:27 UTC) #1
fschneider
LGTM. I'm looking forward to see the overall performance impact! http://codereview.chromium.org/668151/diff/1/11 File src/number-info.h (right): http://codereview.chromium.org/668151/diff/1/11#newcode60 ...
10 years, 9 months ago (2010-03-05 15:01:06 UTC) #2
Erik Corry
10 years, 9 months ago (2010-03-05 20:20:15 UTC) #3
Fixed everything else.  Unfortunately I can't land it now because x64 doesn't
compile.

http://codereview.chromium.org/668151/diff/37/43
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/668151/diff/37/43#newcode2079
src/ia32/codegen-ia32.cc:2079: if (!operand->number_info().IsSmi()) {
On 2010/03/05 15:01:07, fschneider wrote:
> Also here only instantiate DeferredInlineSmiOperation if we don't have a smi.

Actually instead I will remove the 'if' since shifting a known Smi by constant 0
seems like a stupid thing to do.

Powered by Google App Engine
This is Rietveld 408576698