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

Issue 96083005: Remove Reloc::Mode CODE_TARGET_CONTEXT (Closed)

Created:
7 years ago by mvstanton
Modified:
6 years, 11 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

We need to know if a load, store or call IC is assumed to be on the global object. Previously, this information was stored in RelocInfo. A more logical place for this kind of structural information is ExtraICState. Storing it there makes it easier for us to gather type feedback from these sites too. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18466

Patch Set 1 #

Patch Set 2 : REBASE. #

Patch Set 3 : Passing tests. #

Patch Set 4 : Complete for ia32. #

Total comments: 2

Patch Set 5 : REBASE #

Patch Set 6 : Addressed comments #

Patch Set 7 : Moved load and store ics out of builtins. #

Total comments: 26

Patch Set 8 : REBASE. #

Patch Set 9 : Addressed comments and ports. #

Patch Set 10 : Fixed port error in ARM. #

Total comments: 2

Patch Set 11 : Added MIPS port, addressed comment. #

Patch Set 12 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+694 lines, -542 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 27 chunks +37 lines, -54 lines 0 comments Download
M src/arm/ic-arm.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 6 chunks +15 lines, -18 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M src/assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -3 lines 0 comments Download
M src/builtins.h View 1 2 3 4 5 6 2 chunks +0 lines, -23 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +0 lines, -57 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/disassembler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -2 lines 0 comments Download
M src/full-codegen.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -1 line 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 26 chunks +39 lines, -58 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 6 chunks +15 lines, -18 lines 0 comments Download
M src/ic.h View 1 2 3 4 5 6 7 8 21 chunks +63 lines, -93 lines 0 comments Download
M src/ic.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +63 lines, -26 lines 0 comments Download
M src/log.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 5 6 7 8 9 10 11 27 chunks +37 lines, -55 lines 0 comments Download
M src/mips/ic-mips.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +15 lines, -18 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -2 lines 0 comments Download
M src/stub-cache.h View 1 2 3 4 5 6 6 chunks +22 lines, -3 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +152 lines, -16 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 26 chunks +36 lines, -53 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 6 chunks +15 lines, -18 lines 0 comments Download
M test/cctest/test-debug.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 6 7 5 chunks +5 lines, -6 lines 0 comments Download
A test/mjsunit/context-calls-maintained.js View 1 2 3 4 5 6 7 8 1 chunk +116 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mvstanton
Hi Toon, here is the change we've been discussing. If it looks okay, I'll address ...
7 years ago (2013-12-02 15:01:39 UTC) #1
Toon Verwaest
Looking good. More macros / lists would probably reduce some of the code. Also we ...
7 years ago (2013-12-02 15:33:57 UTC) #2
mvstanton
Hi Toon, Thanks for the comments, I've 1) used macros in builtins[.h/.cc] to reduce verbosity. ...
7 years ago (2013-12-03 14:54:54 UTC) #3
mvstanton
Hi Toon, Okay, per your verbal comments, I've moved loads and stores out of the ...
7 years ago (2013-12-04 16:35:48 UTC) #4
Toon Verwaest
I like this change! Looking good. Added comments and nitty nits. https://codereview.chromium.org/96083005/diff/160001/src/disassembler.cc File src/disassembler.cc (right): ...
7 years ago (2013-12-04 18:10:51 UTC) #5
mvstanton
Whew. PTAL. https://codereview.chromium.org/96083005/diff/160001/src/disassembler.cc File src/disassembler.cc (right): https://codereview.chromium.org/96083005/diff/160001/src/disassembler.cc#newcode240 src/disassembler.cc:240: if (!code->needs_extended_extra_ic_state(kind) && On 2013/12/04 18:10:52, Toon ...
7 years ago (2013-12-04 22:08:10 UTC) #6
Toon Verwaest
LGTM with 1 comment. Make sure to check performance though. https://codereview.chromium.org/96083005/diff/210001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/96083005/diff/210001/src/objects.cc#newcode10868 ...
7 years ago (2013-12-04 23:24:45 UTC) #7
mvstanton
Thanks, Toon. 32bit perf appeared fine yesterday. I'll verify all platforms today. Addressed your comment ...
7 years ago (2013-12-05 13:08:54 UTC) #8
mvstanton
6 years, 11 months ago (2014-01-07 14:14:55 UTC) #9
Message was sent while issue was closed.
Committed patchset #12 manually as r18466 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698