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

Side by Side Diff: runtime/vm/assembler_mips.h

Issue 467103005: Fixes to support ARMv5 lego mindstorm. (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 | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_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 #ifndef VM_ASSEMBLER_MIPS_H_ 5 #ifndef VM_ASSEMBLER_MIPS_H_
6 #define VM_ASSEMBLER_MIPS_H_ 6 #define VM_ASSEMBLER_MIPS_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_mips.h directly; use assembler.h instead. 9 #error Do not include assembler_mips.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void LeaveStubFrame(); 187 void LeaveStubFrame();
188 // A separate macro for when a Ret immediately follows, so that we can use 188 // A separate macro for when a Ret immediately follows, so that we can use
189 // the branch delay slot. 189 // the branch delay slot.
190 void LeaveStubFrameAndReturn(Register ra = RA); 190 void LeaveStubFrameAndReturn(Register ra = RA);
191 191
192 // Instruction pattern from entrypoint is used in dart frame prologs 192 // Instruction pattern from entrypoint is used in dart frame prologs
193 // to set up the frame and save a PC which can be used to figure out the 193 // to set up the frame and save a PC which can be used to figure out the
194 // RawInstruction object corresponding to the code running in the frame. 194 // RawInstruction object corresponding to the code running in the frame.
195 // See EnterDartFrame. There are 6 instructions before we know the PC. 195 // See EnterDartFrame. There are 6 instructions before we know the PC.
196 static const intptr_t kEntryPointToPcMarkerOffset = 6 * Instr::kInstrSize; 196 static const intptr_t kEntryPointToPcMarkerOffset = 6 * Instr::kInstrSize;
197 static intptr_t EntryPointToPcMarkerOffset() {
198 return kEntryPointToPcMarkerOffset;
199 }
197 200
198 void UpdateAllocationStats(intptr_t cid, 201 void UpdateAllocationStats(intptr_t cid,
199 Register temp_reg, 202 Register temp_reg,
200 Heap::Space space = Heap::kNew); 203 Heap::Space space = Heap::kNew);
201 204
202 void UpdateAllocationStatsWithSize(intptr_t cid, 205 void UpdateAllocationStatsWithSize(intptr_t cid,
203 Register size_reg, 206 Register size_reg,
204 Register temp_reg, 207 Register temp_reg,
205 Heap::Space space = Heap::kNew); 208 Heap::Space space = Heap::kNew);
206 209
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 Register value, 1379 Register value,
1377 Label* no_update); 1380 Label* no_update);
1378 1381
1379 DISALLOW_ALLOCATION(); 1382 DISALLOW_ALLOCATION();
1380 DISALLOW_COPY_AND_ASSIGN(Assembler); 1383 DISALLOW_COPY_AND_ASSIGN(Assembler);
1381 }; 1384 };
1382 1385
1383 } // namespace dart 1386 } // namespace dart
1384 1387
1385 #endif // VM_ASSEMBLER_MIPS_H_ 1388 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698