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 562203005: Inline toDouble calls on mints (Closed)

Created:
6 years, 3 months ago by Cutch
Modified:
6 years, 3 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

* Fixes ICData collection on Double.fromInteger factory constructor (for both smi and mint). * Inlines instance calls to toDouble on mint. * Adds fast path mint -> double for IA32. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=40501

Patch Set 1 #

Total comments: 13

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -34 lines) Patch
M runtime/vm/assembler_ia32_test.cc View 1 1 chunk +39 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 chunks +62 lines, -30 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 4 chunks +45 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Cutch
PTAL while I work on ARM backend. https://codereview.chromium.org/562203005/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (left): https://codereview.chromium.org/562203005/diff/1/runtime/vm/flow_graph_optimizer.cc#oldcode4506 runtime/vm/flow_graph_optimizer.cc:4506: if (call->HasICData() ...
6 years, 3 months ago (2014-09-16 16:04:11 UTC) #2
Florian Schneider
https://codereview.chromium.org/562203005/diff/1/runtime/vm/assembler_ia32_test.cc File runtime/vm/assembler_ia32_test.cc (right): https://codereview.chromium.org/562203005/diff/1/runtime/vm/assembler_ia32_test.cc#newcode2066 runtime/vm/assembler_ia32_test.cc:2066: EXPECT_FLOAT_EQ(6.0, res, 0.001); I think can be 6.0 represented ...
6 years, 3 months ago (2014-09-17 11:15:33 UTC) #3
Cutch
https://codereview.chromium.org/562203005/diff/1/runtime/vm/assembler_ia32_test.cc File runtime/vm/assembler_ia32_test.cc (right): https://codereview.chromium.org/562203005/diff/1/runtime/vm/assembler_ia32_test.cc#newcode2066 runtime/vm/assembler_ia32_test.cc:2066: EXPECT_FLOAT_EQ(6.0, res, 0.001); On 2014/09/17 11:15:32, Florian Schneider wrote: ...
6 years, 3 months ago (2014-09-18 16:39:49 UTC) #4
Florian Schneider
lgtm https://codereview.chromium.org/562203005/diff/60001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/562203005/diff/60001/runtime/vm/flow_graph_optimizer.cc#newcode69 runtime/vm/flow_graph_optimizer.cc:69: #else I think there should be a TODO ...
6 years, 3 months ago (2014-09-19 09:49:01 UTC) #5
Cutch
https://codereview.chromium.org/562203005/diff/60001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/562203005/diff/60001/runtime/vm/flow_graph_optimizer.cc#newcode69 runtime/vm/flow_graph_optimizer.cc:69: #else On 2014/09/19 09:49:00, Florian Schneider wrote: > I ...
6 years, 3 months ago (2014-09-19 16:17:41 UTC) #6
Cutch
6 years, 3 months ago (2014-09-19 16:23:48 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 40501 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698