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

Issue 22851003: Initial support for length guards on final fields. (Closed)

Created:
7 years, 4 months ago by Cutch
Modified:
7 years, 4 months ago
Reviewers:
zra, regis, srdjan
CC:
reviews_dartlang.org, Vyacheslav Egorov (Google), vm-dev_dartlang.org
Visibility:
Public.

Description

Initial support for length guards on final fields. R=regis@google.com, srdjan@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=26433

Patch Set 1 #

Total comments: 20

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+784 lines, -36 lines) Patch
M runtime/vm/code_generator.cc View 1 2 3 4 5 2 chunks +33 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 9 chunks +153 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 8 chunks +184 lines, -9 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 4 5 10 chunks +162 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 9 chunks +169 lines, -8 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 2 chunks +27 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 5 chunks +46 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Cutch
PTAL- I've only included the IA32 changes. Once I know you are happy with the ...
7 years, 4 months ago (2013-08-13 20:45:20 UTC) #1
srdjan
https://codereview.chromium.org/22851003/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/22851003/diff/1/runtime/vm/code_generator.cc#newcode1867 runtime/vm/code_generator.cc:1867: intptr_t list_length = Field::kNoLength; You can eliminate list_length variable ...
7 years, 4 months ago (2013-08-14 17:01:08 UTC) #2
Cutch
https://codereview.chromium.org/22851003/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/22851003/diff/1/runtime/vm/code_generator.cc#newcode1867 runtime/vm/code_generator.cc:1867: intptr_t list_length = Field::kNoLength; On 2013/08/14 17:01:08, srdjan wrote: ...
7 years, 4 months ago (2013-08-15 16:39:12 UTC) #3
srdjan
LGTM with comments https://codereview.chromium.org/22851003/diff/9001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/22851003/diff/9001/runtime/vm/code_generator.cc#newcode1876 runtime/vm/code_generator.cc:1876: return Field::kNoLength; It may be easier ...
7 years, 4 months ago (2013-08-16 22:26:01 UTC) #4
Cutch
https://codereview.chromium.org/22851003/diff/9001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/22851003/diff/9001/runtime/vm/code_generator.cc#newcode1876 runtime/vm/code_generator.cc:1876: return Field::kNoLength; On 2013/08/16 22:26:01, srdjan wrote: > It ...
7 years, 4 months ago (2013-08-19 21:52:01 UTC) #5
Cutch
Zach & Regis PTAL at MIPS and ARM changes.
7 years, 4 months ago (2013-08-20 20:58:52 UTC) #6
regis
LGTM with one detail. https://codereview.chromium.org/22851003/diff/19001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/22851003/diff/19001/runtime/vm/intermediate_language_arm.cc#newcode1608 runtime/vm/intermediate_language_arm.cc:1608: __ Push(value_cid_reg); Instead of all ...
7 years, 4 months ago (2013-08-20 21:24:04 UTC) #7
zra
arm/mips lgtm https://codereview.chromium.org/22851003/diff/19001/runtime/vm/intermediate_language_mips.cc File runtime/vm/intermediate_language_mips.cc (right): https://codereview.chromium.org/22851003/diff/19001/runtime/vm/intermediate_language_mips.cc#newcode1666 runtime/vm/intermediate_language_mips.cc:1666: __ Push(value_cid_reg); Should just be able to ...
7 years, 4 months ago (2013-08-20 21:40:51 UTC) #8
Cutch
https://codereview.chromium.org/22851003/diff/19001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/22851003/diff/19001/runtime/vm/intermediate_language_arm.cc#newcode1608 runtime/vm/intermediate_language_arm.cc:1608: __ Push(value_cid_reg); On 2013/08/20 21:24:04, regis wrote: > Instead ...
7 years, 4 months ago (2013-08-20 22:48:51 UTC) #9
regis
LGTM
7 years, 4 months ago (2013-08-20 22:55:09 UTC) #10
Cutch
7 years, 4 months ago (2013-08-21 15:32:54 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 manually as r26433 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698