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

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

Issue 475503002: Fixes typo in mips causing test failures. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « no previous file | no next file » | 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 "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 2303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2314 2314
2315 compiler->SaveLiveRegisters(locs); 2315 compiler->SaveLiveRegisters(locs);
2316 2316
2317 __ LoadImmediate(T1, instruction_->num_context_variables()); 2317 __ LoadImmediate(T1, instruction_->num_context_variables());
2318 StubCode* stub_code = compiler->isolate()->stub_code(); 2318 StubCode* stub_code = compiler->isolate()->stub_code();
2319 const ExternalLabel label(stub_code->AllocateContextEntryPoint()); 2319 const ExternalLabel label(stub_code->AllocateContextEntryPoint());
2320 compiler->GenerateCall(instruction_->token_pos(), 2320 compiler->GenerateCall(instruction_->token_pos(),
2321 &label, 2321 &label,
2322 RawPcDescriptors::kOther, 2322 RawPcDescriptors::kOther,
2323 locs); 2323 locs);
2324 ASSERT(instruction_->locs()->out(0).reg() == R0); 2324 ASSERT(instruction_->locs()->out(0).reg() == V0);
2325 compiler->RestoreLiveRegisters(instruction_->locs()); 2325 compiler->RestoreLiveRegisters(instruction_->locs());
2326 __ b(exit_label()); 2326 __ b(exit_label());
2327 } 2327 }
2328 2328
2329 private: 2329 private:
2330 AllocateUninitializedContextInstr* instruction_; 2330 AllocateUninitializedContextInstr* instruction_;
2331 }; 2331 };
2332 2332
2333 2333
2334 void AllocateUninitializedContextInstr::EmitNativeCode( 2334 void AllocateUninitializedContextInstr::EmitNativeCode(
(...skipping 2491 matching lines...) Expand 10 before | Expand all | Expand 10 after
4826 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); 4826 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs());
4827 #if defined(DEBUG) 4827 #if defined(DEBUG)
4828 __ LoadImmediate(S4, kInvalidObjectPointer); 4828 __ LoadImmediate(S4, kInvalidObjectPointer);
4829 __ LoadImmediate(S5, kInvalidObjectPointer); 4829 __ LoadImmediate(S5, kInvalidObjectPointer);
4830 #endif 4830 #endif
4831 } 4831 }
4832 4832
4833 } // namespace dart 4833 } // namespace dart
4834 4834
4835 #endif // defined TARGET_ARCH_MIPS 4835 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698