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

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

Issue 23672011: Fix the previously ineffective assert checking the number of arguments passed to (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 Register value, // Value we are storing. 1073 Register value, // Value we are storing.
1074 bool can_value_be_smi = true); 1074 bool can_value_be_smi = true);
1075 1075
1076 void StoreIntoObjectNoBarrier(Register object, 1076 void StoreIntoObjectNoBarrier(Register object,
1077 const Address& dest, 1077 const Address& dest,
1078 Register value); 1078 Register value);
1079 void StoreIntoObjectNoBarrier(Register object, 1079 void StoreIntoObjectNoBarrier(Register object,
1080 const Address& dest, 1080 const Address& dest,
1081 const Object& value); 1081 const Object& value);
1082 1082
1083 void CallRuntime(const RuntimeEntry& entry); 1083 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count);
1084 1084
1085 // Set up a Dart frame on entry with a frame pointer and PC information to 1085 // Set up a Dart frame on entry with a frame pointer and PC information to
1086 // enable easy access to the RawInstruction object of code corresponding 1086 // enable easy access to the RawInstruction object of code corresponding
1087 // to this frame. 1087 // to this frame.
1088 void EnterDartFrame(intptr_t frame_size); 1088 void EnterDartFrame(intptr_t frame_size);
1089 void LeaveDartFrame(); 1089 void LeaveDartFrame();
1090 void LeaveDartFrameAndReturn(); 1090 void LeaveDartFrameAndReturn();
1091 1091
1092 // Set up a Dart frame for a function compiled for on-stack replacement. 1092 // Set up a Dart frame for a function compiled for on-stack replacement.
1093 // The frame layout is a normal Dart frame, but the frame is partially set 1093 // The frame layout is a normal Dart frame, but the frame is partially set
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 Register value, 1222 Register value,
1223 Label* no_update); 1223 Label* no_update);
1224 1224
1225 DISALLOW_ALLOCATION(); 1225 DISALLOW_ALLOCATION();
1226 DISALLOW_COPY_AND_ASSIGN(Assembler); 1226 DISALLOW_COPY_AND_ASSIGN(Assembler);
1227 }; 1227 };
1228 1228
1229 } // namespace dart 1229 } // namespace dart
1230 1230
1231 #endif // VM_ASSEMBLER_MIPS_H_ 1231 #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