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

Side by Side Diff: vm/intermediate_language.cc

Issue 10826097: Use explicit push-argument for InstanceSetter instruction. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « vm/intermediate_language.h ('k') | vm/intermediate_language_ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_builder.h" 9 #include "vm/flow_graph_builder.h"
10 #include "vm/flow_graph_compiler.h" 10 #include "vm/flow_graph_compiler.h"
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 } 759 }
760 760
761 761
762 RawAbstractType* StoreIndexedComp::StaticType() const { 762 RawAbstractType* StoreIndexedComp::StaticType() const {
763 UNREACHABLE(); 763 UNREACHABLE();
764 return AbstractType::null(); 764 return AbstractType::null();
765 } 765 }
766 766
767 767
768 RawAbstractType* InstanceSetterComp::StaticType() const { 768 RawAbstractType* InstanceSetterComp::StaticType() const {
769 return value()->StaticType(); 769 // This computation does not have a result value.
770 UNREACHABLE();
771 return AbstractType::null();
770 } 772 }
771 773
772 774
773 RawAbstractType* StaticSetterComp::StaticType() const { 775 RawAbstractType* StaticSetterComp::StaticType() const {
774 return value()->StaticType(); 776 return value()->StaticType();
775 } 777 }
776 778
777 779
778 RawAbstractType* LoadInstanceFieldComp::StaticType() const { 780 RawAbstractType* LoadInstanceFieldComp::StaticType() const {
779 if (FLAG_enable_type_checks) { 781 if (FLAG_enable_type_checks) {
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 if (compiler->is_ssa()) { 1361 if (compiler->is_ssa()) {
1360 ASSERT(locs()->in(0).IsRegister()); 1362 ASSERT(locs()->in(0).IsRegister());
1361 __ PushRegister(locs()->in(0).reg()); 1363 __ PushRegister(locs()->in(0).reg());
1362 } 1364 }
1363 } 1365 }
1364 1366
1365 1367
1366 #undef __ 1368 #undef __
1367 1369
1368 } // namespace dart 1370 } // namespace dart
OLDNEW
« no previous file with comments | « vm/intermediate_language.h ('k') | vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698