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

Issue 384403002: StubCallInterfaceDescriptor takes a context register. (Closed)

Created:
6 years, 5 months ago by mvstanton
Modified:
6 years, 5 months ago
Reviewers:
danno
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

StubCallInterfaceDescriptor and CallInterfaceDescriptor are unified under a base class InterfaceDescriptor. Handling of the context register had to be massaged to effect the unification. This will make it easier to call hydrogen code stubs directly from crankshaft. R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22448

Patch Set 1 #

Patch Set 2 : Improvements #

Patch Set 3 : Base class for Descriptors. #

Total comments: 10

Patch Set 4 : Code comments. #

Patch Set 5 : Context must now be specified, and also it's optional. #

Patch Set 6 : Nevermind about the optional thing. #

Patch Set 7 : More refinements. #

Total comments: 18

Patch Set 8 : Code comments and ports. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -294 lines) Patch
M src/arm/code-stubs-arm.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 20 chunks +43 lines, -34 lines 0 comments Download
M src/arm/lithium-arm.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/code-stubs-arm64.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 20 chunks +57 lines, -34 lines 0 comments Download
M src/arm64/lithium-arm64.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 4 chunks +81 lines, -73 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 12 chunks +50 lines, -33 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 7 4 chunks +9 lines, -7 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -5 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 5 chunks +8 lines, -8 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 5 chunks +7 lines, -7 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 19 chunks +41 lines, -33 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 19 chunks +38 lines, -30 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
mvstanton
Hi Danno, Here is the change we discussed, a way to merge CodeInterfaceDescriptor and CodeStubInterfaceDescriptor: ...
6 years, 5 months ago (2014-07-14 12:53:08 UTC) #1
danno
https://codereview.chromium.org/384403002/diff/30001/src/code-stubs.h File src/code-stubs.h (right): https://codereview.chromium.org/384403002/diff/30001/src/code-stubs.h#newcode274 src/code-stubs.h:274: class InterfaceDescriptor { In general, could more stuff in ...
6 years, 5 months ago (2014-07-15 07:48:31 UTC) #2
mvstanton
Hi Danno, Okay, here is the "full circle" back around to specifying the context register ...
6 years, 5 months ago (2014-07-16 09:43:26 UTC) #3
danno
https://codereview.chromium.org/384403002/diff/130001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/384403002/diff/130001/src/code-stubs-hydrogen.cc#newcode42 src/code-stubs-hydrogen.cc:42: int parameter_count = descriptor_->register_param_count() - 1; GetEnvironmentParameterCount https://codereview.chromium.org/384403002/diff/130001/src/code-stubs-hydrogen.cc#newcode122 src/code-stubs-hydrogen.cc:122: ...
6 years, 5 months ago (2014-07-16 13:19:59 UTC) #4
mvstanton
Hi Danno, I think we are getting there, PTAL, thx! --Michael https://codereview.chromium.org/384403002/diff/130001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): ...
6 years, 5 months ago (2014-07-17 09:04:05 UTC) #5
danno
lgtm lgtm
6 years, 5 months ago (2014-07-17 09:27:32 UTC) #6
danno
lgtm
6 years, 5 months ago (2014-07-17 09:27:32 UTC) #7
mvstanton
6 years, 5 months ago (2014-07-17 11:50:32 UTC) #8
Message was sent while issue was closed.
Committed patchset #8 manually as r22448.

Powered by Google App Engine
This is Rietveld 408576698