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

Issue 1294793002: [Interpreter] Add implementations for load immediate bytecodes. (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@interpreter_accum
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add implementations for load immediate bytecodes. Adds implementations and tests for the following bytecodes: - LdaZero - LdaSmi8 - LdaUndefined - LdaNull - LdaTheHole - LdaTrue - LdaFalse - LdaLdar - LdaStar Also adds Smi tagging / untagging and OperandType typed BytecodeOperand operations to InterpreterAssembler. BUG=v8:4280 LOG=N Committed: https://crrev.com/f36cc258ffc89b15cd5f145e230bb2e36b45edf7 Cr-Commit-Position: refs/heads/master@{#30226}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Address review comments. #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -78 lines) Patch
M src/compiler/interpreter-assembler.h View 1 5 chunks +18 lines, -6 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 3 chunks +52 lines, -19 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 9 chunks +25 lines, -9 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 3 chunks +126 lines, -1 line 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.h View 1 chunk +2 lines, -0 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 4 chunks +70 lines, -43 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
rmcilroy
Michael, Orion, could you take a look please? Thanks.
5 years, 4 months ago (2015-08-14 14:34:03 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/1294793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294793002/1
5 years, 4 months ago (2015-08-14 14:44:57 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294793002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294793002/20001
5 years, 4 months ago (2015-08-14 14:45:57 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-14 15:11:22 UTC) #9
Michael Starzinger
LGTM modulo one comment about evaluation order. https://codereview.chromium.org/1294793002/diff/20001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1294793002/diff/20001/src/compiler/interpreter-assembler.h#newcode39 src/compiler/interpreter-assembler.h:39: // Returns ...
5 years, 4 months ago (2015-08-17 08:22:34 UTC) #10
Michael Starzinger
To clarify my comment: I think we should put sequence points between all invocations of ...
5 years, 4 months ago (2015-08-17 08:27:45 UTC) #11
oth
A couple of minor comments and modulo Michael's comment looks good here. https://codereview.chromium.org/1294793002/diff/20001/src/compiler/interpreter-assembler.cc File src/compiler/interpreter-assembler.cc ...
5 years, 4 months ago (2015-08-17 10:49:02 UTC) #12
rmcilroy
https://codereview.chromium.org/1294793002/diff/20001/src/compiler/interpreter-assembler.cc File src/compiler/interpreter-assembler.cc (right): https://codereview.chromium.org/1294793002/diff/20001/src/compiler/interpreter-assembler.cc#newcode137 src/compiler/interpreter-assembler.cc:137: Node* InterpreterAssembler::BytecodeOperandImm8(int delta) { On 2015/08/17 10:49:02, oth wrote: ...
5 years, 4 months ago (2015-08-18 13:06:22 UTC) #13
rmcilroy
5 years, 4 months ago (2015-08-18 13:09:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294793002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294793002/60001
5 years, 4 months ago (2015-08-18 13:33:37 UTC) #18
commit-bot: I haz the power
Failed to apply patch for src/interpreter/bytecode-array-builder.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 4 months ago (2015-08-18 13:58:57 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294793002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294793002/100001
5 years, 4 months ago (2015-08-18 15:05:03 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 4 months ago (2015-08-18 15:29:27 UTC) #26
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 15:29:46 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f36cc258ffc89b15cd5f145e230bb2e36b45edf7
Cr-Commit-Position: refs/heads/master@{#30226}

Powered by Google App Engine
This is Rietveld 408576698