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

Issue 12209021: Refactor LoadIC into Handler Frontend and Backends. (Closed)

Created:
7 years, 10 months ago by Toon Verwaest
Modified:
7 years, 9 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Currently this mostly just moves code around. - Later the different parts will become individual code objects that tailcall into one another. - The mapcheck/symbol check still needs to be separated from the overall prototype-chain check so that the ICs can reuse the handlers. Committed: https://code.google.com/p/v8/source/detail?r=13768

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 1

Patch Set 4 : x64 #

Patch Set 5 : More platform independent code #

Patch Set 6 : Add ARM, bool->enum #

Patch Set 7 : Load from correct reg on ARM. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+559 lines, -890 lines) Patch
M src/arm/stub-cache-arm.cc View 1 2 3 4 5 6 8 chunks +127 lines, -250 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 4 5 8 chunks +146 lines, -270 lines 0 comments Download
M src/ic.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/stub-cache.h View 1 2 3 4 5 4 chunks +46 lines, -53 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 3 chunks +110 lines, -63 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 4 5 9 chunks +130 lines, -249 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Toon Verwaest
PTAL
7 years, 10 months ago (2013-02-06 11:25:50 UTC) #1
Jakob Kummerow
I think this is the right approach. https://chromiumcodereview.appspot.com/12209021/diff/5/src/ia32/stub-cache-ia32.cc File src/ia32/stub-cache-ia32.cc (right): https://chromiumcodereview.appspot.com/12209021/diff/5/src/ia32/stub-cache-ia32.cc#newcode1227 src/ia32/stub-cache-ia32.cc:1227: bool must_perfrom_prototype_check ...
7 years, 10 months ago (2013-02-06 12:48:27 UTC) #2
Toon Verwaest
Extended the work to replace all JumpIfSmi+CheckPrototypes in LoadICs with HandlerFrontends. Added extra comments inline. ...
7 years, 10 months ago (2013-02-06 14:06:30 UTC) #3
Jakob Kummerow
Still looks good, go ahead and do the platform ports. As I said before, I'd ...
7 years, 10 months ago (2013-02-06 14:21:06 UTC) #4
Toon Verwaest
Added ARM, x64 and turned bool into enum. PTAL again.
7 years, 10 months ago (2013-02-06 17:27:09 UTC) #5
Jakob Kummerow
LGTM. Let's hope our tests would catch any typos in register usage ;-) Also, since ...
7 years, 10 months ago (2013-02-11 14:11:30 UTC) #6
Toon Verwaest
7 years, 9 months ago (2013-02-27 15:29:01 UTC) #7
Message was sent while issue was closed.
Committed manually as r13768 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698