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

Issue 2195863002: [turbofan] Stub for typeof operator. (Closed)

Created:
4 years, 4 months ago by Franzi
Modified:
4 years, 4 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Stub for typeof operator. Replace hydrogen stub for typeof with TurboFan stub. BUG=chromium:608675 Committed: https://crrev.com/4602d98ea4897e1c13c302901aab92be709cd1c0 Cr-Commit-Position: refs/heads/master@{#38227}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Inherit from TFS not Hydrogen #

Patch Set 4 : Fix on other architectures #

Patch Set 5 : Fix undetectable function case #

Patch Set 6 : Minor refactoring #

Total comments: 8

Patch Set 7 : Fix review comments #

Total comments: 2

Patch Set 8 : Assert SYMBOL and inline #

Total comments: 1

Patch Set 9 : Delete now unused untemplated DoUnaryOp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -162 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/code-stubs.h View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 3 chunks +124 lines, -9 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 1 chunk +0 lines, -108 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/interpreter/interpreter.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -8 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/ppc/code-stubs-ppc.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/s390/code-stubs-s390.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/x87/code-stubs-x87.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 46 (38 generated)
Franzi
Hi Benedikt, Here's typeof as a TurboFan stub. Please take a look. Thanks, Franzi
4 years, 4 months ago (2016-08-01 16:13:30 UTC) #21
Benedikt Meurer
https://codereview.chromium.org/2195863002/diff/100001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/2195863002/diff/100001/src/code-stubs.cc#newcode1898 src/code-stubs.cc:1898: end(assembler); Nit: I'd prefer to use return_result instead of ...
4 years, 4 months ago (2016-08-01 17:27:42 UTC) #24
Franzi
Addressed your comments. Please have another look. Thanks, Franzi https://codereview.chromium.org/2195863002/diff/100001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/2195863002/diff/100001/src/code-stubs.cc#newcode1898 src/code-stubs.cc:1898: ...
4 years, 4 months ago (2016-08-01 19:00:33 UTC) #29
Benedikt Meurer
Almost there, just two nits, and one minor task: Please hook this up for the ...
4 years, 4 months ago (2016-08-02 03:18:22 UTC) #30
Benedikt Meurer
Thanks, LGTM. https://codereview.chromium.org/2195863002/diff/140001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2195863002/diff/140001/src/interpreter/interpreter.cc#newcode1144 src/interpreter/interpreter.cc:1144: DoUnaryOp<TypeofStub>(assembler); I think the untemplated DoUnaryOp is ...
4 years, 4 months ago (2016-08-02 04:53:36 UTC) #33
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/2195863002/160001
4 years, 4 months ago (2016-08-02 07:02:27 UTC) #42
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-02 07:04:35 UTC) #44
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 07:05:20 UTC) #46
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/4602d98ea4897e1c13c302901aab92be709cd1c0
Cr-Commit-Position: refs/heads/master@{#38227}

Powered by Google App Engine
This is Rietveld 408576698