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

Issue 2096653003: [ic] Don't pass receiver and name to LoadGlobalIC. (Closed)

Created:
4 years, 6 months ago by Igor Sheludko
Modified:
4 years, 5 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@store-name-in-metavector
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Don't pass receiver and name to LoadGlobalIC. The global object can be loaded from the native context and the name can be loaded in the type feedback metadata. BUG=chromium:576312 Committed: https://crrev.com/cd18075df73e177d5aecdda1eba58eec7f85977c Cr-Commit-Position: refs/heads/master@{#37278}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed Ross's comments #

Total comments: 2

Patch Set 3 : Get global name via feedback vector #

Patch Set 4 : Removed name parameter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -477 lines) Patch
M src/code-factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 2 chunks +3 lines, -16 lines 0 comments Download
M src/crankshaft/arm/lithium-arm.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/arm/lithium-arm.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/arm64/lithium-arm64.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/arm64/lithium-arm64.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M src/crankshaft/hydrogen-instructions.h View 2 chunks +5 lines, -8 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/ia32/lithium-ia32.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/ia32/lithium-ia32.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/mips/lithium-mips.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/mips/lithium-mips.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/mips64/lithium-mips64.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/mips64/lithium-mips64.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/s390/lithium-s390.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/crankshaft/s390/lithium-s390.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/x64/lithium-x64.h View 2 chunks +2 lines, -6 lines 0 comments Download
M src/crankshaft/x64/lithium-x64.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/x87/lithium-x87.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/crankshaft/x87/lithium-x87.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M src/interface-descriptors.h View 2 chunks +14 lines, -7 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 1 chunk +191 lines, -193 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 3 chunks +8 lines, -13 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallGlobal.golden View 1 3 chunks +4 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallNew.golden View 1 5 chunks +6 lines, -9 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ContextVariables.golden View 1 3 chunks +2 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/DeclareGlobals.golden View 1 2 chunks +2 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden View 1 2 chunks +4 lines, -4 lines 0 comments Download
A test/cctest/interpreter/bytecode_expectations/GlobalCompoundExpressions.golden1 View 1 1 chunk +64 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/GlobalCountOperators.golden View 1 4 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/GlobalDelete.golden View 1 2 chunks +5 lines, -7 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/LoadGlobal.golden View 1 5 chunks +8 lines, -12 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Typeof.golden View 1 1 chunk +2 lines, -3 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-iterator-unittest.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M test/unittests/interpreter/bytecode-pipeline-unittest.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 28 (13 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/2096653003/20001
4 years, 6 months ago (2016-06-23 21:39:57 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 22:08:16 UTC) #5
Igor Sheludko
PTAL
4 years, 6 months ago (2016-06-23 22:15:52 UTC) #8
rmcilroy
https://codereview.chromium.org/2096653003/diff/20001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (left): https://codereview.chromium.org/2096653003/diff/20001/src/interpreter/interpreter.cc#oldcode401 src/interpreter/interpreter.cc:401: Node* name = __ LoadConstantPoolEntry(constant_index); Can you remove the ...
4 years, 6 months ago (2016-06-23 22:28:27 UTC) #10
Benedikt Meurer
Wohoo, nice. LGTM
4 years, 6 months ago (2016-06-24 03:31:10 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096653003/40001
4 years, 6 months ago (2016-06-24 07:25:45 UTC) #13
Igor Sheludko
Updated Ld*Global bytecodes. PTAL. https://codereview.chromium.org/2096653003/diff/20001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (left): https://codereview.chromium.org/2096653003/diff/20001/src/interpreter/interpreter.cc#oldcode401 src/interpreter/interpreter.cc:401: Node* name = __ LoadConstantPoolEntry(constant_index); ...
4 years, 6 months ago (2016-06-24 07:26:16 UTC) #14
rmcilroy
https://codereview.chromium.org/2096653003/diff/40001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/2096653003/diff/40001/src/interpreter/bytecode-array-builder.cc#newcode242 src/interpreter/bytecode-array-builder.cc:242: const Handle<String> name, int feedback_slot, TypeofMode typeof_mode) { No ...
4 years, 6 months ago (2016-06-24 07:43:08 UTC) #15
Igor Sheludko
https://codereview.chromium.org/2096653003/diff/40001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/2096653003/diff/40001/src/interpreter/bytecode-array-builder.cc#newcode242 src/interpreter/bytecode-array-builder.cc:242: const Handle<String> name, int feedback_slot, TypeofMode typeof_mode) { On ...
4 years, 6 months ago (2016-06-24 07:55:35 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2096653003/80001
4 years, 6 months ago (2016-06-24 07:56:25 UTC) #18
rmcilroy
LGTM, thanks!
4 years, 6 months ago (2016-06-24 08:09:03 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 08:21:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096653003/80001
4 years, 5 months ago (2016-06-27 08:13:59 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 5 months ago (2016-06-27 08:42:49 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 08:45:02 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cd18075df73e177d5aecdda1eba58eec7f85977c
Cr-Commit-Position: refs/heads/master@{#37278}

Powered by Google App Engine
This is Rietveld 408576698