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

Issue 1512543002: [Interpreter] Save bytecode offset in interpreter stack frames. (Closed)

Created:
5 years ago by rmcilroy
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Save bytecode offset in interpreter stack frames. Adds a slot for the bytecode offset to interpreter stack frames and saves it on calls, and restores after calls. Also fixes RawMachineAssembler::Return() to call MergeControlToEnd. BUG=v8:4280 LOG=N Committed: https://crrev.com/025d476cf57ce8695f8e36906e4863b17c981747 Cr-Commit-Position: refs/heads/master@{#32906}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove Return control / effect nodes in RMA #

Patch Set 3 : Minor tweak #

Total comments: 6

Patch Set 4 : Remove accumulator saving and port. #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Fix rebase #

Patch Set 8 : Fix ia32 and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -45 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M src/compiler/interpreter-assembler.h View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 3 4 5 6 8 chunks +64 lines, -19 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M src/frames.h View 1 2 3 1 chunk +10 lines, -4 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -3 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (20 generated)
rmcilroy
Orion, Michi, please take a look. If you are happy with the general approach I ...
5 years ago (2015-12-08 10:31:58 UTC) #2
oth
On 2015/12/08 10:31:58, rmcilroy wrote: > Orion, Michi, please take a look. If you are ...
5 years ago (2015-12-08 11:16:47 UTC) #3
titzer
https://codereview.chromium.org/1512543002/diff/1/src/compiler/raw-machine-assembler.cc File src/compiler/raw-machine-assembler.cc (right): https://codereview.chromium.org/1512543002/diff/1/src/compiler/raw-machine-assembler.cc#newcode98 src/compiler/raw-machine-assembler.cc:98: Node* values[] = {value, graph()->start(), graph()->start()}; These extra inputs ...
5 years ago (2015-12-08 16:25:45 UTC) #5
Michael Starzinger
https://codereview.chromium.org/1512543002/diff/1/src/compiler/raw-machine-assembler.cc File src/compiler/raw-machine-assembler.cc (right): https://codereview.chromium.org/1512543002/diff/1/src/compiler/raw-machine-assembler.cc#newcode98 src/compiler/raw-machine-assembler.cc:98: Node* values[] = {value, graph()->start(), graph()->start()}; On 2015/12/08 16:25:45, ...
5 years ago (2015-12-09 16:35:25 UTC) #6
rmcilroy
https://codereview.chromium.org/1512543002/diff/1/src/compiler/raw-machine-assembler.cc File src/compiler/raw-machine-assembler.cc (right): https://codereview.chromium.org/1512543002/diff/1/src/compiler/raw-machine-assembler.cc#newcode98 src/compiler/raw-machine-assembler.cc:98: Node* values[] = {value, graph()->start(), graph()->start()}; On 2015/12/09 16:35:25, ...
5 years ago (2015-12-09 16:54:45 UTC) #7
Michael Starzinger
As discussed offline: I understand the need to spill the bytecode offset in order to ...
5 years ago (2015-12-09 18:16:22 UTC) #8
Michael Starzinger
Maybe we can split this CL apart into two pieces. The first piece just spills ...
5 years ago (2015-12-09 18:22:48 UTC) #9
rmcilroy
On 2015/12/09 18:22:48, Michael Starzinger wrote: > Maybe we can split this CL apart into ...
5 years ago (2015-12-10 14:17:12 UTC) #11
Michael Starzinger
LGTM. Thanks! Please adapt CL title and description before landing. https://codereview.chromium.org/1512543002/diff/80001/src/frames.h File src/frames.h (right): https://codereview.chromium.org/1512543002/diff/80001/src/frames.h#newcode180 ...
5 years ago (2015-12-10 14:25:24 UTC) #12
rmcilroy
On 2015/12/10 14:25:24, Michael Starzinger wrote: > LGTM. Thanks! Please adapt CL title and description ...
5 years ago (2015-12-10 14:41:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1512543002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512543002/80001
5 years ago (2015-12-10 14:41:45 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/381)
5 years ago (2015-12-10 14:49:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1512543002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512543002/100001
5 years ago (2015-12-10 15:15:52 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/13009)
5 years ago (2015-12-10 15:44:08 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1512543002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512543002/100001
5 years ago (2015-12-11 15:36:23 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/13094)
5 years ago (2015-12-11 15:41:27 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1512543002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512543002/120001
5 years ago (2015-12-11 15:44:00 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_compile_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_compile_dbg/builds/10907) v8_win_nosnap_shared_compile_rel on tryserver.v8 (JOB_FAILED, ...
5 years ago (2015-12-11 15:47:17 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/1512543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512543002/140001
5 years ago (2015-12-11 16:10:58 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/13105)
5 years ago (2015-12-11 16:40:03 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1512543002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1512543002/160001
5 years ago (2015-12-16 14:44:57 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years ago (2015-12-16 15:14:17 UTC) #41
commit-bot: I haz the power
5 years ago (2015-12-16 15:14:27 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/025d476cf57ce8695f8e36906e4863b17c981747
Cr-Commit-Position: refs/heads/master@{#32906}

Powered by Google App Engine
This is Rietveld 408576698