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

Side by Side Diff: src/ia32/assembler-ia32.h

Issue 6893156: Unified CallWrapper and PostCallGenerator classes, the former is a (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 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 | « src/assembler.h ('k') | src/ia32/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) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 // 840 //
841 // Note: The same Label can be used for forward and backward branches 841 // Note: The same Label can be used for forward and backward branches
842 // but it may be bound only once. 842 // but it may be bound only once.
843 843
844 void bind(Label* L); // binds an unbound label L to the current code position 844 void bind(Label* L); // binds an unbound label L to the current code position
845 void bind(NearLabel* L); 845 void bind(NearLabel* L);
846 846
847 // Calls 847 // Calls
848 void call(Label* L); 848 void call(Label* L);
849 void call(byte* entry, RelocInfo::Mode rmode); 849 void call(byte* entry, RelocInfo::Mode rmode);
850 int CallSize(const Operand& adr);
850 void call(const Operand& adr); 851 void call(const Operand& adr);
852 int CallSize(Handle<Code> code, RelocInfo::Mode mode);
851 void call(Handle<Code> code, 853 void call(Handle<Code> code,
852 RelocInfo::Mode rmode, 854 RelocInfo::Mode rmode,
853 unsigned ast_id = kNoASTId); 855 unsigned ast_id = kNoASTId);
854 856
855 // Jumps 857 // Jumps
856 void jmp(Label* L); // unconditional jump to L 858 void jmp(Label* L); // unconditional jump to L
857 void jmp(byte* entry, RelocInfo::Mode rmode); 859 void jmp(byte* entry, RelocInfo::Mode rmode);
858 void jmp(const Operand& adr); 860 void jmp(const Operand& adr);
859 void jmp(Handle<Code> code, RelocInfo::Mode rmode); 861 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
860 862
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 private: 1156 private:
1155 Assembler* assembler_; 1157 Assembler* assembler_;
1156 #ifdef DEBUG 1158 #ifdef DEBUG
1157 int space_before_; 1159 int space_before_;
1158 #endif 1160 #endif
1159 }; 1161 };
1160 1162
1161 } } // namespace v8::internal 1163 } } // namespace v8::internal
1162 1164
1163 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1165 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698