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

Issue 1561953005: Fix null receiver guard an uncached site. (Closed)

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

Description

Fix null receiver guard on uncached path. We has two copies of the inlining preparation code, so I put it in a local function. This fixes some of the errant .toString guards but not all. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/ac0d8dbd812122ff13570f1dc19c981a3d4d64ab

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -20 lines) Patch
M pkg/compiler/lib/src/cps_ir/inline.dart View 1 3 chunks +7 lines, -20 lines 0 comments Download

Messages

Total messages: 8 (5 generated)
Kevin Millikin (Google)
LGTM https://codereview.chromium.org/1561953005/diff/40001/pkg/compiler/lib/src/cps_ir/inline.dart File pkg/compiler/lib/src/cps_ir/inline.dart (right): https://codereview.chromium.org/1561953005/diff/40001/pkg/compiler/lib/src/cps_ir/inline.dart#newcode386 pkg/compiler/lib/src/cps_ir/inline.dart:386: Reference<Primitive> dartReceiver = invoke.dartReceiverReference; This is already in ...
4 years, 11 months ago (2016-01-07 18:15:08 UTC) #5
sra1
Committed patchset #2 (id:60001) manually as ac0d8dbd812122ff13570f1dc19c981a3d4d64ab (presubmit successful).
4 years, 11 months ago (2016-01-07 18:22:51 UTC) #7
sra1
4 years, 11 months ago (2016-01-07 18:23:14 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/1561953005/diff/40001/pkg/compiler/lib/src/cp...
File pkg/compiler/lib/src/cps_ir/inline.dart (right):

https://codereview.chromium.org/1561953005/diff/40001/pkg/compiler/lib/src/cp...
pkg/compiler/lib/src/cps_ir/inline.dart:386: Reference<Primitive> dartReceiver =
invoke.dartReceiverReference;
On 2016/01/07 18:15:08, Kevin Millikin (Google) wrote:
> This is already in scope, isn't it?

Yes, thanks.

Powered by Google App Engine
This is Rietveld 408576698