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

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

Issue 7284029: Cleaned up calling-related methods in the ARM assembler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 5 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/arm/macro-assembler-arm.cc ('k') | src/x64/assembler-x64.h » ('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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 // Prefetch src position into cache level. 983 // Prefetch src position into cache level.
984 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a 984 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a
985 // non-temporal 985 // non-temporal
986 void prefetch(const Operand& src, int level); 986 void prefetch(const Operand& src, int level);
987 // TODO(lrn): Need SFENCE for movnt? 987 // TODO(lrn): Need SFENCE for movnt?
988 988
989 // Debugging 989 // Debugging
990 void Print(); 990 void Print();
991 991
992 // Check the code size generated from label to here. 992 // Check the code size generated from label to here.
993 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } 993 int SizeOfCodeGeneratedSince(Label* label) {
994 return pc_offset() - label->pos();
995 }
994 996
995 // Mark address of the ExitJSFrame code. 997 // Mark address of the ExitJSFrame code.
996 void RecordJSReturn(); 998 void RecordJSReturn();
997 999
998 // Mark address of a debug break slot. 1000 // Mark address of a debug break slot.
999 void RecordDebugBreakSlot(); 1001 void RecordDebugBreakSlot();
1000 1002
1001 // Record a comment relocation entry that can be used by a disassembler. 1003 // Record a comment relocation entry that can be used by a disassembler.
1002 // Use --code-comments to enable, or provide "force = true" flag to always 1004 // Use --code-comments to enable, or provide "force = true" flag to always
1003 // write a comment. 1005 // write a comment.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 private: 1138 private:
1137 Assembler* assembler_; 1139 Assembler* assembler_;
1138 #ifdef DEBUG 1140 #ifdef DEBUG
1139 int space_before_; 1141 int space_before_;
1140 #endif 1142 #endif
1141 }; 1143 };
1142 1144
1143 } } // namespace v8::internal 1145 } } // namespace v8::internal
1144 1146
1145 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1147 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698