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

Issue 330243003: Record field initializer stores with simple literals at compile-time. (Closed)

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

Description

Record field initializer with simple literals stores at compile-time. This helps to rule out fields from being unboxing candidates earlier and avoids generating extra code to track the type at runtime. Also, align the location summary computation for instance field stores to use the same condition as the code generation function. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=37310

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M runtime/vm/intermediate_language_arm.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
When running dart2js, this avoid generating ~100 potential-unboxed stores, therefore reducing the size of unoptimized ...
6 years, 6 months ago (2014-06-13 11:10:40 UTC) #1
Vyacheslav Egorov (Google)
LGTM though I am a bit concerned that this only covers var x = literal; ...
6 years, 6 months ago (2014-06-13 11:17:11 UTC) #2
Florian Schneider
On 2014/06/13 11:17:11, Vyacheslav Egorov (Google) wrote: > LGTM > > though I am a ...
6 years, 6 months ago (2014-06-13 11:19:20 UTC) #3
Florian Schneider
6 years, 6 months ago (2014-06-13 11:49:41 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r37310 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698