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

Side by Side Diff: runtime/vm/intermediate_language_mips.cc

Issue 13407003: Third codegen test passing for simulated MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | « runtime/vm/instructions_mips.cc ('k') | runtime/vm/runtime_entry_mips.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/globals.h" // Needed here to get TARGET_ARCH_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
11 #include "vm/dart_entry.h" 11 #include "vm/dart_entry.h"
12 #include "vm/flow_graph_compiler.h" 12 #include "vm/flow_graph_compiler.h"
13 #include "vm/locations.h" 13 #include "vm/locations.h"
14 #include "vm/object_store.h" 14 #include "vm/object_store.h"
15 #include "vm/parser.h" 15 #include "vm/parser.h"
16 #include "vm/stub_code.h" 16 #include "vm/stub_code.h"
17 #include "vm/symbols.h" 17 #include "vm/symbols.h"
18 18
19 #define __ compiler->assembler()-> 19 #define __ compiler->assembler()->
20 20
21 namespace dart { 21 namespace dart {
22 22
23 DECLARE_FLAG(int, optimization_counter_threshold); 23 DECLARE_FLAG(int, optimization_counter_threshold);
24 DECLARE_FLAG(bool, propagate_ic_data); 24 DECLARE_FLAG(bool, propagate_ic_data);
25 25
26 // Generic summary for call instructions that have all arguments pushed
27 // on the stack and return the result in a fixed register V0.
26 LocationSummary* Instruction::MakeCallSummary() { 28 LocationSummary* Instruction::MakeCallSummary() {
27 UNIMPLEMENTED(); 29 LocationSummary* result = new LocationSummary(0, 0, LocationSummary::kCall);
28 return NULL; 30 result->set_out(Location::RegisterLocation(V0));
31 return result;
29 } 32 }
30 33
31 34
32 LocationSummary* PushArgumentInstr::MakeLocationSummary() const { 35 LocationSummary* PushArgumentInstr::MakeLocationSummary() const {
33 UNIMPLEMENTED(); 36 UNIMPLEMENTED();
34 return NULL; 37 return NULL;
35 } 38 }
36 39
37 40
38 void PushArgumentInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 41 void PushArgumentInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 855
853 856
854 void CreateClosureInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 857 void CreateClosureInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
855 UNIMPLEMENTED(); 858 UNIMPLEMENTED();
856 } 859 }
857 860
858 } // namespace dart 861 } // namespace dart
859 862
860 #endif // defined TARGET_ARCH_MIPS 863 #endif // defined TARGET_ARCH_MIPS
861 864
OLDNEW
« no previous file with comments | « runtime/vm/instructions_mips.cc ('k') | runtime/vm/runtime_entry_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698