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

Side by Side Diff: runtime/vm/assembler_x64.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_mips.cc ('k') | runtime/vm/assembler_x64.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_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 void LeaveFrame(); 682 void LeaveFrame();
683 void ReserveAlignedFrameSpace(intptr_t frame_space); 683 void ReserveAlignedFrameSpace(intptr_t frame_space);
684 684
685 // Create a frame for calling into runtime that preserves all volatile 685 // Create a frame for calling into runtime that preserves all volatile
686 // registers. Frame's RSP is guaranteed to be correctly aligned and 686 // registers. Frame's RSP is guaranteed to be correctly aligned and
687 // frame_space bytes are reserved under it. 687 // frame_space bytes are reserved under it.
688 void EnterCallRuntimeFrame(intptr_t frame_space); 688 void EnterCallRuntimeFrame(intptr_t frame_space);
689 void LeaveCallRuntimeFrame(); 689 void LeaveCallRuntimeFrame();
690 690
691 691
692 void CallRuntime(const RuntimeEntry& entry); 692 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count);
693 693
694 /* 694 /*
695 * Loading and comparing classes of objects. 695 * Loading and comparing classes of objects.
696 */ 696 */
697 void LoadClassId(Register result, Register object); 697 void LoadClassId(Register result, Register object);
698 698
699 void LoadClassById(Register result, Register class_id); 699 void LoadClassById(Register result, Register class_id);
700 700
701 void LoadClass(Register result, Register object); 701 void LoadClass(Register result, Register object);
702 702
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 } 937 }
938 938
939 939
940 inline void Assembler::EmitOperandSizeOverride() { 940 inline void Assembler::EmitOperandSizeOverride() {
941 EmitUint8(0x66); 941 EmitUint8(0x66);
942 } 942 }
943 943
944 } // namespace dart 944 } // namespace dart
945 945
946 #endif // VM_ASSEMBLER_X64_H_ 946 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698