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

Issue 1652963004: Switch to using Function(Any) for foreign functions, label declarations. (Closed)

Created:
4 years, 10 months ago by bradnelson
Modified:
4 years, 10 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

Switch to using Function(Any) for foreign functions, label declarations. As it turns out checking for bare Type::Function is problematic, switching to use Type::Function(Type::Any())). Also labeling the type on foreign function declarations. BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=test-asm-validator R=aseemgarg@chromium.org LOG=N Committed: https://crrev.com/da632baac7e28d370d9893676c8d1d3e901a4400 Cr-Commit-Position: refs/heads/master@{#33691}

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -64 lines) Patch
M src/typing-asm.cc View 1 2 chunks +60 lines, -54 lines 2 comments Download
M test/cctest/test-asm-validator.cc View 1 6 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
bradn
4 years, 10 months ago (2016-02-01 23:45:01 UTC) #2
aseemgarg
lgtm
4 years, 10 months ago (2016-02-02 00:52:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652963004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652963004/1
4 years, 10 months ago (2016-02-02 01:16:45 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/10391)
4 years, 10 months ago (2016-02-02 01:18:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652963004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652963004/1
4 years, 10 months ago (2016-02-02 21:23:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/10447)
4 years, 10 months ago (2016-02-02 21:25:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652963004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652963004/20001
4 years, 10 months ago (2016-02-03 00:15:02 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-03 01:20:29 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/da632baac7e28d370d9893676c8d1d3e901a4400 Cr-Commit-Position: refs/heads/master@{#33691}
4 years, 10 months ago (2016-02-03 01:21:11 UTC) #17
brucedawson
https://codereview.chromium.org/1652963004/diff/20001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1652963004/diff/20001/src/typing-asm.cc#newcode950 src/typing-asm.cc:950: ZoneList<Expression*>* args = expr->arguments(); Not a serious problem, but ...
4 years, 10 months ago (2016-02-05 23:35:51 UTC) #19
bradn
4 years, 10 months ago (2016-02-06 00:32:54 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/1652963004/diff/20001/src/typing-asm.cc
File src/typing-asm.cc (right):

https://codereview.chromium.org/1652963004/diff/20001/src/typing-asm.cc#newco...
src/typing-asm.cc:950: ZoneList<Expression*>* args = expr->arguments();
On 2016/02/05 23:35:50, brucedawson wrote:
> Not a serious problem, but this line of code is redundant. It makes the same
> call and assigns to an identically named/typed variable as the line of code
> three lines above.
> 
> The /analyze builder noticed this. Some day I'll turn on variable shadowing
> warnings in normal builds...

Ah, bad merge.
Thanks!

Powered by Google App Engine
This is Rietveld 408576698