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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed)

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

Description

Add a MathFloor stub generated with TurboFan This stub will be used as the basis of a Math.floor-specific CallIC to detect and track calls to floor that return -0. Along the way: - Create a TurboFanCodeStub super class from which the StringLength and MathRound TF stubs derive. - Fix the ugly hack that passes the first stub parameter as the "this" pointer in the the TF-compiled JS function. - Fix bugs in the ia32/x64 disassembler. Committed: https://crrev.com/abc35080b33cc31e47b9913e64ac99ec687c6b65 Cr-Commit-Position: refs/heads/master@{#28339}

Patch Set 1 #

Patch Set 2 : Platform ports #

Patch Set 3 : Fix x64 disasm #

Patch Set 4 : Fix comment #

Total comments: 14

Patch Set 5 : Review feedback #

Patch Set 6 : Latest #

Total comments: 12

Patch Set 7 : Review feedback #

Patch Set 8 : Small cleanup #

Patch Set 9 : Merge with ToT #

Patch Set 10 : Remove merge conflict #

Patch Set 11 : More merge fun #

Patch Set 12 : Fix pedantic duplicate ; detection #

Patch Set 13 : Fix ARM + co. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+435 lines, -134 lines) Patch
M src/arm/interface-descriptors-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +15 lines, -0 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +15 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +54 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 2 chunks +30 lines, -0 lines 0 comments Download
M src/compiler.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -0 lines 0 comments Download
M src/compiler/access-builder.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/access-builder.cc View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 3 chunks +14 lines, -8 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 2 3 4 5 6 7 2 chunks +67 lines, -0 lines 0 comments Download
M src/compiler/linkage.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -5 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/disasm-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M src/runtime.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +24 lines, -3 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -3 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M src/runtime/runtime-collections.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M src/type-feedback-vector.cc View 2 chunks +3 lines, -1 line 0 comments Download
M src/x64/disasm-x64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-stubs.cc View 2 chunks +39 lines, -42 lines 0 comments Download
A + test/mjsunit/compiler/stubs/floor-stub.js View 1 2 3 4 1 chunk +23 lines, -50 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
danno
PTAL
5 years, 7 months ago (2015-05-08 11:56:01 UTC) #2
Benedikt Meurer
First round of comments. https://codereview.chromium.org/1137703002/diff/60001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1137703002/diff/60001/src/code-stubs.cc#newcode462 src/code-stubs.cc:462: static Handle<JSFunction> GetFunction(Isolate* isolate, const ...
5 years, 7 months ago (2015-05-08 12:17:07 UTC) #3
danno
Please take another look https://codereview.chromium.org/1137703002/diff/60001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1137703002/diff/60001/src/code-stubs.cc#newcode462 src/code-stubs.cc:462: static Handle<JSFunction> GetFunction(Isolate* isolate, const ...
5 years, 7 months ago (2015-05-08 15:28:01 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/1137703002/diff/100001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1137703002/diff/100001/src/code-stubs.cc#newcode19 src/code-stubs.cc:19: using namespace v8::internal::compiler; This violates the style guide. No ...
5 years, 7 months ago (2015-05-11 04:40:12 UTC) #5
danno
Feedback addressed. Please take another look https://codereview.chromium.org/1137703002/diff/100001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1137703002/diff/100001/src/code-stubs.cc#newcode19 src/code-stubs.cc:19: using namespace v8::internal::compiler; ...
5 years, 7 months ago (2015-05-11 06:14:19 UTC) #6
Benedikt Meurer
Thanks. LGTM
5 years, 7 months ago (2015-05-11 06:16:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137703002/130001
5 years, 7 months ago (2015-05-11 07:17:55 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/257)
5 years, 7 months ago (2015-05-11 07:20:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137703002/190001
5 years, 7 months ago (2015-05-11 09:00:23 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/2438)
5 years, 7 months ago (2015-05-11 09:09:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137703002/210001
5 years, 7 months ago (2015-05-11 09:14:53 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/5584)
5 years, 7 months ago (2015-05-11 09:38:43 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137703002/230001
5 years, 7 months ago (2015-05-11 11:21:25 UTC) #25
commit-bot: I haz the power
Committed patchset #13 (id:230001)
5 years, 7 months ago (2015-05-11 11:45:09 UTC) #26
commit-bot: I haz the power
5 years, 7 months ago (2015-05-11 11:45:23 UTC) #27
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/abc35080b33cc31e47b9913e64ac99ec687c6b65
Cr-Commit-Position: refs/heads/master@{#28339}

Powered by Google App Engine
This is Rietveld 408576698