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

Issue 1390483002: [Interpreter] Unary operators - typeof, void, and logical not. (Closed)

Created:
5 years, 2 months ago by oth
Modified:
5 years, 2 months 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] Unary operators - typeof, void, and logical not. Implementations and tests for typeof, void, and logical not. Add missing string type to Object::TypeOf. BUG=v8:4280 LOG=NO Committed: https://crrev.com/565f0d730b1a2cdddc7e048b229d8748d8ca9660 Cr-Commit-Position: refs/heads/master@{#31124}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 9

Patch Set 3 : Rebase and incorporate feedback on patch set 2. #

Total comments: 4

Patch Set 4 : Incorporate review comments on patch set 3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+408 lines, -13 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 1 chunk +34 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 4 chunks +34 lines, -8 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/runtime/runtime-interpreter.cc View 1 2 3 3 chunks +19 lines, -3 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 1 chunk +118 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 1 chunk +158 lines, -0 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
oth
verwaest@chromium.org: Please review changes in runtime. rmcilroy@chromium.org: Please review changes in the interpreter and tests. ...
5 years, 2 months ago (2015-10-05 10:16:39 UTC) #2
Benedikt Meurer
LGTM from my side.
5 years, 2 months ago (2015-10-05 10:19:53 UTC) #3
rmcilroy
lgtm with some nits. https://codereview.chromium.org/1390483002/diff/20001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (left): https://codereview.chromium.org/1390483002/diff/20001/src/interpreter/interpreter.cc#oldcode461 src/interpreter/interpreter.cc:461: // runtime calls. This looks ...
5 years, 2 months ago (2015-10-06 10:39:15 UTC) #4
oth
Thanks, all incorporated. https://codereview.chromium.org/1390483002/diff/20001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (left): https://codereview.chromium.org/1390483002/diff/20001/src/interpreter/interpreter.cc#oldcode461 src/interpreter/interpreter.cc:461: // runtime calls. This looks like ...
5 years, 2 months ago (2015-10-06 12:35:07 UTC) #5
rmcilroy
Looks great thanks! lgtm.
5 years, 2 months ago (2015-10-06 12:48:08 UTC) #6
Toon Verwaest
runtime lgtm with some comments https://codereview.chromium.org/1390483002/diff/40001/src/runtime/runtime-interpreter.cc File src/runtime/runtime-interpreter.cc (right): https://codereview.chromium.org/1390483002/diff/40001/src/runtime/runtime-interpreter.cc#newcode125 src/runtime/runtime-interpreter.cc:125: HandleScope scope(isolate); SealHandleScope shs(isolate); ...
5 years, 2 months ago (2015-10-06 13:25:27 UTC) #7
oth
Thanks all. Comments incorporated. https://codereview.chromium.org/1390483002/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1390483002/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc#newcode1316 test/cctest/interpreter/test-bytecode-generator.cc:1316: B(Return), // 19 On 2015/10/06 ...
5 years, 2 months ago (2015-10-06 13:52:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390483002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390483002/60001
5 years, 2 months ago (2015-10-06 13:52:45 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-06 14:15:18 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 14:15:40 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/565f0d730b1a2cdddc7e048b229d8748d8ca9660
Cr-Commit-Position: refs/heads/master@{#31124}

Powered by Google App Engine
This is Rietveld 408576698