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

Issue 10412043: Make it less verbose to declare instructions that use LocationSummary-based code generation. (Closed)

Created:
8 years, 7 months ago by Florian Schneider
Modified:
8 years, 7 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva
Visibility:
Public.

Description

This should avoid duplicating too much boilerplate code. Committed: https://code.google.com/p/dart/source/detail?r=7884

Patch Set 1 #

Total comments: 5

Patch Set 2 : addressed comments #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -171 lines) Patch
M vm/intermediate_language.h View 1 2 20 chunks +25 lines, -115 lines 0 comments Download
M vm/intermediate_language_ia32.cc View 1 2 1 chunk +9 lines, -47 lines 0 comments Download
M vm/intermediate_language_x64.cc View 1 10 chunks +285 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Florian Schneider
8 years, 7 months ago (2012-05-22 21:56:16 UTC) #1
Ivan Posva
https://chromiumcodereview.appspot.com/10412043/diff/1/vm/intermediate_language.h File vm/intermediate_language.h (right): https://chromiumcodereview.appspot.com/10412043/diff/1/vm/intermediate_language.h#newcode116 vm/intermediate_language.h:116: // TODO(vegorov): This should be pure virtual method. This ...
8 years, 7 months ago (2012-05-22 22:19:49 UTC) #2
Florian Schneider
Addressed comments. https://chromiumcodereview.appspot.com/10412043/diff/1/vm/intermediate_language.h File vm/intermediate_language.h (right): https://chromiumcodereview.appspot.com/10412043/diff/1/vm/intermediate_language.h#newcode116 vm/intermediate_language.h:116: // TODO(vegorov): This should be pure virtual ...
8 years, 7 months ago (2012-05-22 23:01:06 UTC) #3
Ivan Posva
LGTM with comments. -Ivan https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_language.h File vm/intermediate_language.h (right): https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_language.h#newcode116 vm/intermediate_language.h:116: if (locs_ == NULL) locs_ ...
8 years, 7 months ago (2012-05-22 23:36:06 UTC) #4
srdjan
LGTM https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_language_x64.cc File vm/intermediate_language_x64.cc (right): https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_language_x64.cc#newcode211 vm/intermediate_language_x64.cc:211: void UseVal::EmitNativeCode(FlowGraphCompiler* compiler) { UNREACHABLE or UNIMPLEMENTED ?
8 years, 7 months ago (2012-05-22 23:46:14 UTC) #5
Florian Schneider
8 years, 7 months ago (2012-05-23 00:02:01 UTC) #6
https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_lan...
File vm/intermediate_language.h (right):

https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_lan...
vm/intermediate_language.h:116: if (locs_ == NULL) locs_ =
MakeLocationSummary();
On 2012/05/22 23:36:07, Ivan Posva wrote:
> Where are the {}s?

Done.

https://chromiumcodereview.appspot.com/10412043/diff/5001/vm/intermediate_lan...
vm/intermediate_language.h:125: virtual void EmitNativeCode(FlowGraphCompiler*
compiler) = 0;
On 2012/05/22 23:36:07, Ivan Posva wrote:
> Can this be const?

Not yet. locs() needs to be const as well for that.

Powered by Google App Engine
This is Rietveld 408576698