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

Issue 18807007: Fix wrong type test optimization when testing against a signature class: we must always consider th… (Closed)

Created:
7 years, 5 months ago by srdjan
Modified:
7 years, 5 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix wrong type test optimization when testing against a signature class: we must always consider the instance type arguments as well. FIxes failing tests when run with --optimization-counter-threshold=5. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=24961

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -123 lines) Patch
M runtime/lib/object.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 1 chunk +9 lines, -8 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 3 chunks +33 lines, -29 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 3 chunks +33 lines, -29 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 3 chunks +32 lines, -28 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 3 chunks +33 lines, -29 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
srdjan
7 years, 5 months ago (2013-07-11 23:34:02 UTC) #1
regis
LGTM with comments. https://codereview.chromium.org/18807007/diff/9001/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/18807007/diff/9001/runtime/lib/object.cc#newcode131 runtime/lib/object.cc:131: const Bool& result = Bool::Handle( You ...
7 years, 5 months ago (2013-07-12 00:29:30 UTC) #2
srdjan
https://codereview.chromium.org/18807007/diff/9001/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/18807007/diff/9001/runtime/lib/object.cc#newcode131 runtime/lib/object.cc:131: const Bool& result = Bool::Handle( On 2013/07/12 00:29:31, regis ...
7 years, 5 months ago (2013-07-12 16:56:11 UTC) #3
srdjan
7 years, 5 months ago (2013-07-12 17:31:24 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r24961 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698