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

Issue 9456033: Added LoadLiteralComp, StrictCompareComp; implement InstanceCallNode. (Closed)

Created:
8 years, 10 months ago by srdjan
Modified:
8 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Added LoadLiteralComp, StrictCompareComp; implement InstanceCallNode. Committed: https://code.google.com/p/dart/source/detail?r=4580

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -13 lines) Patch
M runtime/vm/flow_graph_builder.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 4 chunks +45 lines, -11 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 chunks +22 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 10 months ago (2012-02-23 23:43:33 UTC) #1
Kevin Millikin (Google)
Remove LoadLiteralComp and the changes to VisitLiteralNode functions. We can continue to iterate on the ...
8 years, 10 months ago (2012-02-24 10:53:04 UTC) #2
srdjan
8 years, 10 months ago (2012-02-24 22:16:24 UTC) #3
https://chromiumcodereview.appspot.com/9456033/diff/1003/runtime/vm/flow_grap...
File runtime/vm/flow_graph_builder.cc (right):

https://chromiumcodereview.appspot.com/9456033/diff/1003/runtime/vm/flow_grap...
runtime/vm/flow_graph_builder.cc:192: new LoadLiteralComp(new
ConstantValue(node->literal()));
On 2012/02/24 10:53:04, kmillikin wrote:
> As mentioned: let's not materialize literals in all contexts, but only those
> that will need it.

OK, let's see how it works out.

https://chromiumcodereview.appspot.com/9456033/diff/1003/runtime/vm/intermedi...
File runtime/vm/intermediate_language.h (right):

https://chromiumcodereview.appspot.com/9456033/diff/1003/runtime/vm/intermedi...
runtime/vm/intermediate_language.h:24: //                 | LoadLiteral
<Instance>
On 2012/02/24 10:53:04, kmillikin wrote:
> Class has LoadLiteral <Value>.  The grammar and the classes should agree, but
we
> need to hash out how we do this a bit more.

LoadLiteral has been removed

https://chromiumcodereview.appspot.com/9456033/diff/1003/runtime/vm/intermedi...
runtime/vm/intermediate_language.h:26: //                 | StrictCompare
<Token::kind> <Value> ...
On 2012/02/24 10:53:04, kmillikin wrote:
> This one has only two Value subparts, so let's write
> 
> StringCompare <Token::Kind> <Value> <Value>

Done.

Powered by Google App Engine
This is Rietveld 408576698