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

Issue 97543002: Refactor BinaryOpIC to be able to use different stubs. (Closed)

Created:
7 years ago by Benedikt Meurer
Modified:
7 years ago
CC:
v8-dev
Visibility:
Public.

Description

Refactor BinaryOpIC to be able to use different stubs. Previously BinaryOpIC and BinaryOpStub were pretty much interdependent. However, in order to use allocation sites for string adds on-demand, we need to be able to use different stubs (with a different number of register parameters, via trampolines) depending on the BinaryOpIC state. R=hpayer@chromium.org, mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18191

Patch Set 1 : Drop unused ToHandlerState() function. #

Total comments: 2

Patch Set 2 : REBASE #

Patch Set 3 : Addressed comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+645 lines, -737 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 4 chunks +3 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/code-stubs.h View 1 2 3 chunks +28 lines, -152 lines 0 comments Download
M src/code-stubs.cc View 1 2 2 chunks +24 lines, -464 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 5 chunks +25 lines, -24 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ic.h View 1 1 chunk +99 lines, -10 lines 0 comments Download
M src/ic.cc View 1 1 chunk +428 lines, -40 lines 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/log.cc View 1 chunk +1 line, -6 lines 1 comment Download
M src/token.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/type-info.cc View 1 2 chunks +16 lines, -20 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Benedikt Meurer
Hey Hannes, Michael, This is the necessary BinaryOpIC refactoring. Based on this CL, we can ...
7 years ago (2013-11-30 14:16:19 UTC) #1
mvstanton
I really like pulling the state into a separate class instead of having to instantiate ...
7 years ago (2013-12-02 09:59:32 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/97543002/diff/40001/src/code-stubs.h File src/code-stubs.h (right): https://codereview.chromium.org/97543002/diff/40001/src/code-stubs.h#newcode1068 src/code-stubs.h:1068: static void GenerateAheadOfTime(Isolate* isolate) { On 2013/12/02 09:59:33, mvstanton ...
7 years ago (2013-12-02 10:23:45 UTC) #3
Benedikt Meurer
7 years ago (2013-12-02 10:23:45 UTC) #4
Hannes Payer (out of office)
LGTM, just one comment nit https://codereview.chromium.org/97543002/diff/80001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/97543002/diff/80001/src/log.cc#newcode1841 src/log.cc:1841: case Code::BINARY_OP_IC: you may ...
7 years ago (2013-12-02 11:39:00 UTC) #5
Benedikt Meurer
7 years ago (2013-12-02 13:14:21 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r18191 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698