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

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

Issue 14323003: Uncomment more vm tests on ARM (and some on MIPS too). (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/custom_isolate_test.cc ('k') | runtime/vm/intrinsifier_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) 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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
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"
(...skipping 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 // instantiated type arguments, no proper instantiator needed. 1448 // instantiated type arguments, no proper instantiator needed.
1449 __ LoadImmediate(instantiator_reg, 1449 __ LoadImmediate(instantiator_reg,
1450 Smi::RawValue(StubCode::kNoInstantiator)); 1450 Smi::RawValue(StubCode::kNoInstantiator));
1451 } 1451 }
1452 __ Bind(&done); 1452 __ Bind(&done);
1453 // instantiator_reg: instantiator or kNoInstantiator. 1453 // instantiator_reg: instantiator or kNoInstantiator.
1454 } 1454 }
1455 1455
1456 1456
1457 LocationSummary* AllocateContextInstr::MakeLocationSummary() const { 1457 LocationSummary* AllocateContextInstr::MakeLocationSummary() const {
1458 UNIMPLEMENTED(); 1458 const intptr_t kNumInputs = 0;
1459 return NULL; 1459 const intptr_t kNumTemps = 1;
1460 LocationSummary* locs =
1461 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall);
1462 locs->set_temp(0, Location::RegisterLocation(R1));
1463 locs->set_out(Location::RegisterLocation(R0));
1464 return locs;
1460 } 1465 }
1461 1466
1462 1467
1463 void AllocateContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 1468 void AllocateContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1464 UNIMPLEMENTED(); 1469 ASSERT(locs()->temp(0).reg() == R1);
1470 ASSERT(locs()->out().reg() == R0);
1471
1472 __ LoadImmediate(R1, num_context_variables());
1473 const ExternalLabel label("alloc_context",
1474 StubCode::AllocateContextEntryPoint());
1475 compiler->GenerateCall(token_pos(),
1476 &label,
1477 PcDescriptors::kOther,
1478 locs());
1465 } 1479 }
1466 1480
1467 1481
1468 LocationSummary* CloneContextInstr::MakeLocationSummary() const { 1482 LocationSummary* CloneContextInstr::MakeLocationSummary() const {
1469 UNIMPLEMENTED(); 1483 UNIMPLEMENTED();
1470 return NULL; 1484 return NULL;
1471 } 1485 }
1472 1486
1473 1487
1474 void CloneContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 1488 void CloneContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
2293 &label, 2307 &label,
2294 PcDescriptors::kOther, 2308 PcDescriptors::kOther,
2295 locs()); 2309 locs());
2296 __ Drop(2); // Discard type arguments and receiver. 2310 __ Drop(2); // Discard type arguments and receiver.
2297 } 2311 }
2298 2312
2299 } // namespace dart 2313 } // namespace dart
2300 2314
2301 #endif // defined TARGET_ARCH_ARM 2315 #endif // defined TARGET_ARCH_ARM
2302 2316
OLDNEW
« no previous file with comments | « runtime/vm/custom_isolate_test.cc ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698