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

Side by Side Diff: runtime/vm/assembler_ia32.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_arm.cc ('k') | runtime/vm/assembler_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 #ifndef VM_ASSEMBLER_IA32_H_ 5 #ifndef VM_ASSEMBLER_IA32_H_
6 #define VM_ASSEMBLER_IA32_H_ 6 #define VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 void EnterFrame(intptr_t frame_space); 663 void EnterFrame(intptr_t frame_space);
664 void LeaveFrame(); 664 void LeaveFrame();
665 void ReserveAlignedFrameSpace(intptr_t frame_space); 665 void ReserveAlignedFrameSpace(intptr_t frame_space);
666 666
667 // Create a frame for calling into runtime that preserves all volatile 667 // Create a frame for calling into runtime that preserves all volatile
668 // registers. Frame's RSP is guaranteed to be correctly aligned and 668 // registers. Frame's RSP is guaranteed to be correctly aligned and
669 // frame_space bytes are reserved under it. 669 // frame_space bytes are reserved under it.
670 void EnterCallRuntimeFrame(intptr_t frame_space); 670 void EnterCallRuntimeFrame(intptr_t frame_space);
671 void LeaveCallRuntimeFrame(); 671 void LeaveCallRuntimeFrame();
672 672
673 void CallRuntime(const RuntimeEntry& entry); 673 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count);
674 674
675 /* 675 /*
676 * Loading and comparing classes of objects. 676 * Loading and comparing classes of objects.
677 */ 677 */
678 void LoadClassId(Register result, Register object); 678 void LoadClassId(Register result, Register object);
679 679
680 void LoadClassById(Register result, Register class_id); 680 void LoadClassById(Register result, Register class_id);
681 681
682 void LoadClass(Register result, Register object, Register scratch); 682 void LoadClass(Register result, Register object, Register scratch);
683 683
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 } 857 }
858 858
859 859
860 inline void Assembler::EmitOperandSizeOverride() { 860 inline void Assembler::EmitOperandSizeOverride() {
861 EmitUint8(0x66); 861 EmitUint8(0x66);
862 } 862 }
863 863
864 } // namespace dart 864 } // namespace dart
865 865
866 #endif // VM_ASSEMBLER_IA32_H_ 866 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698