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

Issue 11262025: Check class instruction supports Smi check. This fixes missed inlining of isOdd/isEven (Closed)

Created:
8 years, 2 months ago by srdjan
Modified:
8 years, 1 month ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Check class instruction supports Smi check. This fixes missed inlining of isOdd/isEven Fixed a nasty bug in equality optimization. Make sure that we emit CheckSmiInstr instead of CheckClassInstr if we are only checking for smi. Committed: https://code.google.com/p/dart/source/detail?r=14098

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -20 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 6 chunks +18 lines, -14 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 2 months ago (2012-10-25 01:06:43 UTC) #1
Florian Schneider
lgtm
8 years, 1 month ago (2012-10-25 09:36:00 UTC) #2
srdjan
8 years, 1 month ago (2012-10-25 20:18:39 UTC) #3
Added more code  and fixed a bug (see updated comments)

Powered by Google App Engine
This is Rietveld 408576698