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

Issue 2639163004: [ffi] Translation + test for int32 (Closed)

Created:
3 years, 11 months ago by mattloring
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ffi] Translation + test for int32 Also introduces FFIType separate from MachineType for express ffi signatures. BUG=v8:4456 Review-Url: https://codereview.chromium.org/2639163004 Cr-Commit-Position: refs/heads/master@{#42612} Committed: https://chromium.googlesource.com/v8/v8/+/a5913c9a8ec0460c050d10d6d158afc7f23898ad

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address nits #

Total comments: 4

Patch Set 3 : Correct int32 conversion for 32bit platforms #

Patch Set 4 : Generate builtin frames instead of full-codegen #

Total comments: 2

Patch Set 5 : Check return values in test #

Patch Set 6 : Arm fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -8 lines) Patch
M src/ffi/ffi-compiler.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/ffi/ffi-compiler.cc View 1 2 3 4 5 3 chunks +35 lines, -7 lines 0 comments Download
M test/cctest/ffi/test-ffi.cc View 1 2 3 4 5 1 chunk +181 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
mattloring
3 years, 11 months ago (2017-01-18 19:27:32 UTC) #3
ofrobots
On 2017/01/18 19:27:32, mattloring wrote: LGTM
3 years, 11 months ago (2017-01-18 20:59:18 UTC) #4
mattloring
3 years, 11 months ago (2017-01-18 21:07:30 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/2639163004/diff/1/src/ffi/ffi-compiler.cc File src/ffi/ffi-compiler.cc (right): https://codereview.chromium.org/2639163004/diff/1/src/ffi/ffi-compiler.cc#newcode46 src/ffi/ffi-compiler.cc:46: return result; Nit: Can we have UNREACHABLE(); return nullptr; ...
3 years, 11 months ago (2017-01-19 05:04:28 UTC) #7
mattloring
https://codereview.chromium.org/2639163004/diff/1/src/ffi/ffi-compiler.cc File src/ffi/ffi-compiler.cc (right): https://codereview.chromium.org/2639163004/diff/1/src/ffi/ffi-compiler.cc#newcode46 src/ffi/ffi-compiler.cc:46: return result; On 2017/01/19 05:04:28, Benedikt Meurer wrote: > ...
3 years, 11 months ago (2017-01-19 07:01:18 UTC) #8
Michael Starzinger
https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc File src/ffi/ffi-compiler.cc (right): https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc#newcode41 src/ffi/ffi-compiler.cc:41: return SmiFromWord32(node); On 32-bit architectures the payload of a ...
3 years, 11 months ago (2017-01-19 11:37:59 UTC) #9
Michael Starzinger
https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc File src/ffi/ffi-compiler.cc (right): https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc#newcode110 src/ffi/ffi-compiler.cc:110: Code::ComputeFlags(Code::FUNCTION), "js-to-native"); Unrelated to this change, but still important ...
3 years, 11 months ago (2017-01-19 12:30:49 UTC) #10
mattloring
https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc File src/ffi/ffi-compiler.cc (right): https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc#newcode41 src/ffi/ffi-compiler.cc:41: return SmiFromWord32(node); On 2017/01/19 11:37:58, Michael Starzinger wrote: > ...
3 years, 11 months ago (2017-01-19 18:19:55 UTC) #11
mattloring
On 2017/01/19 18:19:55, mattloring wrote: > https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc > File src/ffi/ffi-compiler.cc (right): > > https://codereview.chromium.org/2639163004/diff/20001/src/ffi/ffi-compiler.cc#newcode41 > ...
3 years, 11 months ago (2017-01-19 18:44:16 UTC) #12
Michael Starzinger
LGTM from my end.
3 years, 11 months ago (2017-01-20 09:11:40 UTC) #13
Michael Starzinger
https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc File test/cctest/ffi/test-ffi.cc (right): https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc#newcode197 test/cctest/ffi/test-ffi.cc:197: CompileRun("var o = { valueOf: function() { %DebugTrace() } ...
3 years, 11 months ago (2017-01-20 09:14:21 UTC) #14
mattloring
https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc File test/cctest/ffi/test-ffi.cc (right): https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc#newcode197 test/cctest/ffi/test-ffi.cc:197: CompileRun("var o = { valueOf: function() { %DebugTrace() } ...
3 years, 11 months ago (2017-01-20 18:12:51 UTC) #15
mattloring
On 2017/01/20 18:12:51, mattloring wrote: > https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc > File test/cctest/ffi/test-ffi.cc (right): > > https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc#newcode197 > ...
3 years, 11 months ago (2017-01-20 21:23:03 UTC) #25
Michael Starzinger
On 2017/01/20 21:23:03, mattloring wrote: > On 2017/01/20 18:12:51, mattloring wrote: > > > https://codereview.chromium.org/2639163004/diff/60001/test/cctest/ffi/test-ffi.cc ...
3 years, 11 months ago (2017-01-23 13:20:29 UTC) #26
mattloring
On 2017/01/23 13:20:29, Michael Starzinger wrote: > On 2017/01/20 21:23:03, mattloring wrote: > > On ...
3 years, 11 months ago (2017-01-23 23:50:37 UTC) #31
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/2639163004/120001
3 years, 11 months ago (2017-01-23 23:50:56 UTC) #34
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 23:52:58 UTC) #37
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/a5913c9a8ec0460c050d10d6d158afc7f23...

Powered by Google App Engine
This is Rietveld 408576698