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

Issue 1607993002: dart2js cps: Fix return type for native functions. (Closed)

Created:
4 years, 11 months ago by asgerf
Modified:
4 years, 11 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js cps: Fix return type for native functions. Native functions would be translated into a ForeignCode instruction, but the type mask was not set, so its return type was assumed to be dynamic. BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/4d93612ca7ba4c1a1d837feab7ae36c34382a204

Patch Set 1 #

Patch Set 2 : Remove debugging code #

Total comments: 1

Patch Set 3 : Use return type instead of element type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 2 chunks +7 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (2 generated)
asgerf
https://codereview.chromium.org/1607993002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart File pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/1607993002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart#newcode1532 pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart:1532: final TypeMask storedType; This field clashed with the .type ...
4 years, 11 months ago (2016-01-19 19:22:04 UTC) #2
Siggi Cherem (dart-lang)
lgtm
4 years, 11 months ago (2016-01-19 19:26:24 UTC) #3
asgerf
4 years, 11 months ago (2016-01-19 21:57:02 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
4d93612ca7ba4c1a1d837feab7ae36c34382a204 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698