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

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

Issue 255633002: Enables simple static call test on arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/flow_graph_compiler_arm64.cc ('k') | runtime/vm/stub_code_arm64.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
11 #include "vm/flow_graph_compiler.h" 11 #include "vm/flow_graph_compiler.h"
12 #include "vm/locations.h" 12 #include "vm/locations.h"
13 #include "vm/object_store.h" 13 #include "vm/object_store.h"
14 #include "vm/parser.h" 14 #include "vm/parser.h"
15 #include "vm/simulator.h" 15 #include "vm/simulator.h"
16 #include "vm/stack_frame.h" 16 #include "vm/stack_frame.h"
17 #include "vm/stub_code.h" 17 #include "vm/stub_code.h"
18 #include "vm/symbols.h" 18 #include "vm/symbols.h"
19 19
20 #define __ compiler->assembler()-> 20 #define __ compiler->assembler()->
21 21
22 namespace dart { 22 namespace dart {
23 23
24 DECLARE_FLAG(int, optimization_counter_threshold); 24 DECLARE_FLAG(int, optimization_counter_threshold);
25 DECLARE_FLAG(bool, use_osr); 25 DECLARE_FLAG(bool, use_osr);
26 26
27 // Generic summary for call instructions that have all arguments pushed
28 // on the stack and return the result in a fixed register R0.
27 LocationSummary* Instruction::MakeCallSummary() { 29 LocationSummary* Instruction::MakeCallSummary() {
28 UNIMPLEMENTED(); 30 LocationSummary* result = new LocationSummary(0, 0, LocationSummary::kCall);
29 return NULL; 31 result->set_out(0, Location::RegisterLocation(R0));
32 return result;
30 } 33 }
31 34
32 35
33 LocationSummary* PushArgumentInstr::MakeLocationSummary(bool opt) const { 36 LocationSummary* PushArgumentInstr::MakeLocationSummary(bool opt) const {
34 UNIMPLEMENTED(); 37 UNIMPLEMENTED();
35 return NULL; 38 return NULL;
36 } 39 }
37 40
38 41
39 void PushArgumentInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 42 void PushArgumentInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 } 1378 }
1376 1379
1377 1380
1378 void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 1381 void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1379 UNIMPLEMENTED(); 1382 UNIMPLEMENTED();
1380 } 1383 }
1381 1384
1382 } // namespace dart 1385 } // namespace dart
1383 1386
1384 #endif // defined TARGET_ARCH_ARM64 1387 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/stub_code_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698