OLD | NEW |
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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 909 |
910 void frndint(); | 910 void frndint(); |
911 | 911 |
912 void sahf(); | 912 void sahf(); |
913 void setcc(Condition cc, Register reg); | 913 void setcc(Condition cc, Register reg); |
914 | 914 |
915 void cpuid(); | 915 void cpuid(); |
916 | 916 |
917 // TODO(lrn): Need SFENCE for movnt? | 917 // TODO(lrn): Need SFENCE for movnt? |
918 | 918 |
919 // Debugging | |
920 void Print(); | |
921 | |
922 // Check the code size generated from label to here. | 919 // Check the code size generated from label to here. |
923 int SizeOfCodeGeneratedSince(Label* label) { | 920 int SizeOfCodeGeneratedSince(Label* label) { |
924 return pc_offset() - label->pos(); | 921 return pc_offset() - label->pos(); |
925 } | 922 } |
926 | 923 |
927 // Mark address of the ExitJSFrame code. | 924 // Mark address of the ExitJSFrame code. |
928 void RecordJSReturn(); | 925 void RecordJSReturn(); |
929 | 926 |
930 // Mark address of a debug break slot. | 927 // Mark address of a debug break slot. |
931 void RecordDebugBreakSlot(); | 928 void RecordDebugBreakSlot(); |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 private: | 1055 private: |
1059 Assembler* assembler_; | 1056 Assembler* assembler_; |
1060 #ifdef DEBUG | 1057 #ifdef DEBUG |
1061 int space_before_; | 1058 int space_before_; |
1062 #endif | 1059 #endif |
1063 }; | 1060 }; |
1064 | 1061 |
1065 } } // namespace v8::internal | 1062 } } // namespace v8::internal |
1066 | 1063 |
1067 #endif // V8_X87_ASSEMBLER_X87_H_ | 1064 #endif // V8_X87_ASSEMBLER_X87_H_ |
OLD | NEW |