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

Issue 2156923002: [builtins] Introduce a builtin for Abort(). (Closed)

Created:
4 years, 5 months ago by ahaas
Modified:
4 years, 5 months ago
Reviewers:
Michael Starzinger, v8-mips-ports, Benedikt Meurer, v8-arm-ports, titzer, akos.palfi.imgtec
CC:
Hannes Payer (out of office), ulan, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] Introduce a builtin for Abort(). Calling Runtime::kAbort through a builtin instead of the c-entry stub will allow to generate the call in a background thread, because a builtin provides its own handle, whereas a code stub does not. @v8-mips-ports: Could you take a special look at the padding that is done in MacroAssembler::Abort()? R=bmeurer@chromium.org, titzer@chromium.org, mstarzinger@chromium.org, v8-mips-ports@googlegroups.com, v8-arm-ports@googlegroups.com Committed: https://crrev.com/9be015a254cfff871c56cd129523a729637e9158 Cr-Commit-Position: refs/heads/master@{#37854}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved comment one line down. #

Total comments: 10

Patch Set 3 : Add changes to macro-assembler-mips.cc, and add newlines #

Patch Set 4 : rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -26 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M src/builtins/arm/builtins-arm.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
ahaas
4 years, 5 months ago (2016-07-18 08:20:52 UTC) #1
titzer
lgtm https://codereview.chromium.org/2156923002/diff/1/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2156923002/diff/1/src/builtins/builtins.h#newcode52 src/builtins/builtins.h:52: ASM(Abort) \ Move comment one line down.
4 years, 5 months ago (2016-07-18 08:26:40 UTC) #4
ahaas
https://codereview.chromium.org/2156923002/diff/1/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2156923002/diff/1/src/builtins/builtins.h#newcode52 src/builtins/builtins.h:52: ASM(Abort) \ On 2016/07/18 at 08:26:40, titzer wrote: > ...
4 years, 5 months ago (2016-07-18 08:32:11 UTC) #7
Benedikt Meurer
Thanks, LGTM.
4 years, 5 months ago (2016-07-18 08:39:58 UTC) #8
Michael Starzinger
LGTM. https://codereview.chromium.org/2156923002/diff/20001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/2156923002/diff/20001/src/arm/macro-assembler-arm.cc#newcode2970 src/arm/macro-assembler-arm.cc:2970: Move(r1, Smi::FromInt(static_cast<int>(reason))); nit: Empty newline after "Move" for ...
4 years, 5 months ago (2016-07-18 08:51:12 UTC) #9
ahaas
https://codereview.chromium.org/2156923002/diff/20001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/2156923002/diff/20001/src/arm/macro-assembler-arm.cc#newcode2970 src/arm/macro-assembler-arm.cc:2970: Move(r1, Smi::FromInt(static_cast<int>(reason))); On 2016/07/18 at 08:51:11, Michael Starzinger wrote: ...
4 years, 5 months ago (2016-07-18 09:04:17 UTC) #12
akos.palfi.imgtec
MIPS part l-g-t-m.
4 years, 5 months ago (2016-07-18 22:01:31 UTC) #16
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/2156923002/40001
4 years, 5 months ago (2016-07-19 06:58:40 UTC) #19
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/2156923002/80001
4 years, 5 months ago (2016-07-19 08:29:00 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-19 08:31:23 UTC) #32
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 08:31:26 UTC) #33
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/9be015a254cfff871c56cd129523a729637e9158 Cr-Commit-Position: refs/heads/master@{#37854}
4 years, 5 months ago (2016-07-19 08:33:28 UTC) #35
Michael Hablich
4 years, 5 months ago (2016-07-20 07:21:57 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2163603003/ by hablich@chromium.org.

The reason for reverting is: Blocks roll:
https://build.chromium.org/p/client.v8.ports/builders/V8%20Linux%20-%20arm64%....

Powered by Google App Engine
This is Rietveld 408576698