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

Issue 146077: Removed static type inference and add a dynamic test for string addition. (Closed)

Created:
11 years, 6 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Removed static type inference and add a dynamic test for string addition. The complexity of static type inference never really paid off, and as an analysis it didn't fit well with codegen frame propagation.

Patch Set 1 #

Patch Set 2 : And it lints too. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -228 lines) Patch
M src/arm/virtual-frame-arm.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/frame-element.h View 7 chunks +11 lines, -38 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 3 chunks +40 lines, -5 lines 2 comments Download
M src/ia32/virtual-frame-ia32.h View 1 10 chunks +53 lines, -24 lines 1 comment Download
M src/ia32/virtual-frame-ia32.cc View 3 chunks +4 lines, -8 lines 2 comments Download
M src/jump-target.cc View 5 chunks +4 lines, -22 lines 0 comments Download
M src/register-allocator.h View 4 chunks +3 lines, -91 lines 0 comments Download
M src/register-allocator.cc View 1 chunk +1 line, -12 lines 0 comments Download
M src/virtual-frame.cc View 7 chunks +3 lines, -15 lines 0 comments Download
M src/x64/codegen-x64.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M src/x64/virtual-frame-x64.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/x64/virtual-frame-x64.cc View 3 chunks +2 lines, -5 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
Review, please.
11 years, 6 months ago (2009-06-24 09:38:34 UTC) #1
Erik Corry
LGTM. Removing code is always good. After talking to Bill we agreed that we could ...
11 years, 6 months ago (2009-06-24 11:46:34 UTC) #2
Lasse Reichstein
11 years, 6 months ago (2009-06-24 12:33:07 UTC) #3
http://codereview.chromium.org/146077/diff/1013/17
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/146077/diff/1013/17#newcode935
Line 935: frame_->InvokeBuiltin(Builtins::STRING_ADD_LEFT, CALL_FUNCTION, 2);
Good idea.
I'll commit this for now, and make a test afterwards.

http://codereview.chromium.org/146077/diff/1013/18
File src/ia32/virtual-frame-ia32.cc (right):

http://codereview.chromium.org/146077/diff/1013/18#newcode222
Line 222: // copies or constants so the original was not copied.
Bad merge. I'll restore the original.

Powered by Google App Engine
This is Rietveld 408576698