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

Issue 1294133004: [Interpreter] Pass context to interpreter bytecode handlers and add LoadConstextSlot (Closed)

Created:
5 years, 4 months ago by rmcilroy
Modified:
5 years, 4 months ago
Reviewers:
oth, Michael Starzinger
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Pass context to interpreter bytecode handlers and add LoadConstextSlot Passes the current context to bytecode interpreter handlers. This is held in the context register on all architectures except for ia32 where there are too few registers and it is instead spilled to the stack. Also changes Load/StoreRegister to use kMachAnyTagged representation since they should only ever hold tagged values. BUG=v8:4280 LOG=N Committed: https://crrev.com/bfdc22d7fc1bc046a38770a676619eee613222f3 Cr-Commit-Position: refs/heads/master@{#30325}

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -16 lines) Patch
M src/compiler/interpreter-assembler.h View 3 chunks +7 lines, -1 line 0 comments Download
M src/compiler/interpreter-assembler.cc View 6 chunks +23 lines, -4 lines 0 comments Download
M src/compiler/linkage.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/linkage.cc View 2 chunks +11 lines, -2 lines 2 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +3 lines, -0 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 6 chunks +22 lines, -2 lines 0 comments Download
M test/unittests/compiler/node-test-utils.h View 1 chunk +15 lines, -0 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 1 chunk +42 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (6 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/1294133004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294133004/1
5 years, 4 months ago (2015-08-19 10:48:50 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294133004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294133004/20001
5 years, 4 months ago (2015-08-19 10:52:50 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-19 11:30:10 UTC) #7
rmcilroy
Michael / Orion, PTAL, thanks. This is required for calling the Add/Sub/Div/Mod JS builtins for ...
5 years, 4 months ago (2015-08-19 11:48:42 UTC) #9
Michael Starzinger
High level question: Do we need to keep the context in a machine register? Or ...
5 years, 4 months ago (2015-08-19 15:15:37 UTC) #10
rmcilroy
On 2015/08/19 15:15:37, Michael Starzinger wrote: > High level question: Do we need to keep ...
5 years, 4 months ago (2015-08-19 15:42:16 UTC) #11
Michael Starzinger
On 2015/08/19 15:42:16, rmcilroy wrote: > On 2015/08/19 15:15:37, Michael Starzinger wrote: > > High ...
5 years, 4 months ago (2015-08-19 16:41:52 UTC) #12
rmcilroy
On 2015/08/19 16:41:52, Michael Starzinger wrote: > On 2015/08/19 15:42:16, rmcilroy wrote: > > On ...
5 years, 4 months ago (2015-08-20 07:57:24 UTC) #13
Michael Starzinger
LGTM. As discussed offline: I am fine with landing this as it is to unblock ...
5 years, 4 months ago (2015-08-20 09:32:02 UTC) #14
rmcilroy
On 2015/08/20 09:32:02, Michael Starzinger wrote: > LGTM. As discussed offline: I am fine with ...
5 years, 4 months ago (2015-08-24 10:03:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294133004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294133004/20001
5 years, 4 months ago (2015-08-24 10:03:29 UTC) #17
rmcilroy
https://codereview.chromium.org/1294133004/diff/20001/src/compiler/linkage.cc File src/compiler/linkage.cc (right): https://codereview.chromium.org/1294133004/diff/20001/src/compiler/linkage.cc#newcode416 src/compiler/linkage.cc:416: #if defined(V8_TARGET_ARCH_IA32) On 2015/08/20 09:32:02, Michael Starzinger wrote: > ...
5 years, 4 months ago (2015-08-24 10:14:38 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years, 4 months ago (2015-08-24 10:25:38 UTC) #19
commit-bot: I haz the power
5 years, 4 months ago (2015-08-24 10:25:57 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bfdc22d7fc1bc046a38770a676619eee613222f3
Cr-Commit-Position: refs/heads/master@{#30325}

Powered by Google App Engine
This is Rietveld 408576698