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

Issue 2406383002: DBC: Pull BadTypeError out of AssertAssignable (Closed)

Created:
4 years, 2 months ago by zra
Modified:
4 years, 2 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

DBC: Pull BadTypeError out of AssertAssignable This was allocating a handle which is not allowed in the simulator loop. Small improvement in Flutter's layout_bench in checked mode. 15k us -> 14k us. 7% improvement. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/f713658b71c5764bca9c9a90812d54f6586b0a5d

Patch Set 1 #

Patch Set 2 : Add comment #

Total comments: 2

Patch Set 3 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -13 lines) Patch
M runtime/vm/constants_dbc.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_dbc.cc View 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/simulator_dbc.cc View 1 2 1 chunk +16 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
zra
4 years, 2 months ago (2016-10-11 17:42:37 UTC) #3
Florian Schneider
Lgtm https://codereview.chromium.org/2406383002/diff/20001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (right): https://codereview.chromium.org/2406383002/diff/20001/runtime/vm/simulator_dbc.cc#newcode2675 runtime/vm/simulator_dbc.cc:2675: BYTECODE(BadTypeError, 0); Maybe add the same comment here: ...
4 years, 2 months ago (2016-10-11 17:55:18 UTC) #4
zra
https://codereview.chromium.org/2406383002/diff/20001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (right): https://codereview.chromium.org/2406383002/diff/20001/runtime/vm/simulator_dbc.cc#newcode2675 runtime/vm/simulator_dbc.cc:2675: BYTECODE(BadTypeError, 0); On 2016/10/11 17:55:17, Florian Schneider wrote: > ...
4 years, 2 months ago (2016-10-11 18:04:09 UTC) #5
zra
4 years, 2 months ago (2016-10-11 18:04:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
f713658b71c5764bca9c9a90812d54f6586b0a5d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698