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

Issue 11091029: Fix for issue 5744: also register parameter types for closure invocations to the backend. (Closed)

Created:
8 years, 2 months ago by ngeoffray
Modified:
8 years, 2 months ago
Reviewers:
ahe, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix for issue 5744: also register parameter types for closure invocations to the backend. Submitted in CL 11099044: http://codereview.chromium.org/11099044/

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M lib/compiler/implementation/ssa/codegen.dart View 1 chunk +5 lines, -0 lines 2 comments Download
A tests/language/call_test.dart View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
8 years, 2 months ago (2012-10-09 20:47:38 UTC) #1
ahe
How did you confirm this fixes issue 5744?
8 years, 2 months ago (2012-10-10 05:50:14 UTC) #2
floitsch
http://codereview.chromium.org/11091029/diff/1/lib/compiler/implementation/ssa/codegen.dart File lib/compiler/implementation/ssa/codegen.dart (right): http://codereview.chromium.org/11091029/diff/1/lib/compiler/implementation/ssa/codegen.dart#newcode1556 lib/compiler/implementation/ssa/codegen.dart:1556: backend.registerDynamicInvocation(node, call, types); FYI: this doesn't pass in checked ...
8 years, 2 months ago (2012-10-10 08:56:32 UTC) #3
ahe
LGTM (after you address Florian's comment).
8 years, 2 months ago (2012-10-10 09:28:23 UTC) #4
ngeoffray
8 years, 2 months ago (2012-10-10 09:35:30 UTC) #5
Thanks Florian and Peter

http://codereview.chromium.org/11091029/diff/1/lib/compiler/implementation/ss...
File lib/compiler/implementation/ssa/codegen.dart (right):

http://codereview.chromium.org/11091029/diff/1/lib/compiler/implementation/ss...
lib/compiler/implementation/ssa/codegen.dart:1556:
backend.registerDynamicInvocation(node, call, types);
On 2012/10/10 08:56:33, floitsch wrote:
> FYI: this doesn't pass in checked mode: registerDynamicInvocation expects an
> HInvokeDynamicMethod and not an HInvokeClosure.

Good catch. I probably won't have time to run all tests and submit today, but
only tomorrow. So please feel free to fix it and submit it if it's super urgent.

Powered by Google App Engine
This is Rietveld 408576698