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

Issue 1912633002: [ic] Split LoadIC into LoadGlobalIC and LoadIC. (Closed)

Created:
4 years, 8 months ago by Igor Sheludko
Modified:
4 years, 6 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, rmcilroy, v8-ppc-ports_googlegroups.com, oth
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Split LoadIC into LoadGlobalIC and LoadIC. The former will handle loads of predeclared global variables (vars and functions), lets, consts and undeclared variables. The latter will handle named loads from explicit receiver. In addition, named loads does not depend of the TypeofMode. TypeofMode related cleanup will be done in the follow-up CL. BUG=chromium:576312 LOG=Y TBR=bmeurer@chromium.org Committed: https://crrev.com/d9e8764f8132a6d5b84acfc54b27fde0cb65d963 Cr-Commit-Position: refs/heads/master@{#36965}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Ensure that LOAD_GLOBAL_IC never becomes polymorphic #

Patch Set 3 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -149 lines) Patch
M src/ast/ast.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M src/builtins.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/builtins.cc View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M src/code-factory.h View 1 chunk +5 lines, -3 lines 0 comments Download
M src/code-factory.cc View 2 chunks +18 lines, -6 lines 0 comments Download
M src/code-stubs.h View 4 chunks +24 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/disassembler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/full-codegen.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ic/ic.h View 5 chunks +25 lines, -7 lines 0 comments Download
M src/ic/ic.cc View 1 16 chunks +94 lines, -39 lines 0 comments Download
M src/ic/x64/stub-cache-x64.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/interface-descriptors.h View 2 chunks +8 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 chunk +18 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 5 chunks +8 lines, -5 lines 0 comments Download
M src/log.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/log.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M src/objects-inl.h View 1 chunk +10 lines, -6 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M src/type-feedback-vector.h View 1 6 chunks +24 lines, -3 lines 0 comments Download
M src/type-feedback-vector.cc View 1 6 chunks +37 lines, -1 line 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-disasm-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-disasm-x87.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-feedback-vector.cc View 6 chunks +14 lines, -10 lines 0 comments Download

Messages

Total messages: 67 (41 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912633002/40001
4 years, 6 months ago (2016-05-30 16:21:13 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/2348) v8_linux_arm_rel_ng on ...
4 years, 6 months ago (2016-05-30 16:25:01 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/160001
4 years, 6 months ago (2016-06-10 16:14:06 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/7118) v8_linux_mipsel_compile_rel on ...
4 years, 6 months ago (2016-06-10 16:15:37 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/180001
4 years, 6 months ago (2016-06-10 16:18:38 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/3024) v8_linux_arm64_rel_ng on ...
4 years, 6 months ago (2016-06-10 16:20:07 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/200001
4 years, 6 months ago (2016-06-10 18:14:42 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_dbg_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/7119)
4 years, 6 months ago (2016-06-10 18:19:32 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/220001
4 years, 6 months ago (2016-06-10 18:38:57 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-10 19:09:32 UTC) #37
Igor Sheludko
PTAL
4 years, 6 months ago (2016-06-10 19:41:13 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/240001
4 years, 6 months ago (2016-06-13 07:47:44 UTC) #41
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/3049) v8_linux_mipsel_compile_rel on ...
4 years, 6 months ago (2016-06-13 07:49:15 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/260001
4 years, 6 months ago (2016-06-13 07:57:44 UTC) #45
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-13 08:26:06 UTC) #47
mvstanton
One comment, otherwise looks great! https://codereview.chromium.org/1912633002/diff/220001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/1912633002/diff/220001/src/ast/ast.cc#newcode133 src/ast/ast.cc:133: variable_feedback_slot_ = spec->AddLoadICSlot(); This ...
4 years, 6 months ago (2016-06-13 14:06:41 UTC) #48
mvstanton
My bad, I thought the else was associated with the if above. LGTM.
4 years, 6 months ago (2016-06-13 14:15:28 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/260001
4 years, 6 months ago (2016-06-14 12:27:26 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/17184)
4 years, 6 months ago (2016-06-14 12:30:58 UTC) #53
Michael Starzinger
LGTM on "ast", "compiler" and "interpreter". Didn't look at the rest.
4 years, 6 months ago (2016-06-14 13:06:30 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/260001
4 years, 6 months ago (2016-06-14 13:07:50 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/17190)
4 years, 6 months ago (2016-06-14 13:13:40 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912633002/260001
4 years, 6 months ago (2016-06-14 13:18:40 UTC) #62
commit-bot: I haz the power
Committed patchset #3 (id:260001)
4 years, 6 months ago (2016-06-14 13:20:51 UTC) #64
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 13:20:56 UTC) #65
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 13:21:42 UTC) #67
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d9e8764f8132a6d5b84acfc54b27fde0cb65d963
Cr-Commit-Position: refs/heads/master@{#36965}

Powered by Google App Engine
This is Rietveld 408576698