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: src/ia32/assembler-ia32.h

Issue 6480070: Merge revisions 6611, 6795, 6797 to the 3.0 branch... (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.0/
Patch Set: Created 9 years, 10 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
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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 // Check the code size generated from label to here. 944 // Check the code size generated from label to here.
945 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } 945 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); }
946 946
947 // Mark address of the ExitJSFrame code. 947 // Mark address of the ExitJSFrame code.
948 void RecordJSReturn(); 948 void RecordJSReturn();
949 949
950 // Mark address of a debug break slot. 950 // Mark address of a debug break slot.
951 void RecordDebugBreakSlot(); 951 void RecordDebugBreakSlot();
952 952
953 // Record a comment relocation entry that can be used by a disassembler. 953 // Record a comment relocation entry that can be used by a disassembler.
954 // Use --code-comments to enable. 954 // Use --code-comments to enable, or provide "force = true" flag to always
955 void RecordComment(const char* msg); 955 // write a comment.
956 void RecordComment(const char* msg, bool force = false);
956 957
957 // Writes a single byte or word of data in the code stream. Used for 958 // Writes a single byte or word of data in the code stream. Used for
958 // inline tables, e.g., jump-tables. 959 // inline tables, e.g., jump-tables.
959 void db(uint8_t data); 960 void db(uint8_t data);
960 void dd(uint32_t data); 961 void dd(uint32_t data);
961 962
962 int pc_offset() const { return pc_ - buffer_; } 963 int pc_offset() const { return pc_ - buffer_; }
963 964
964 // Check if there is less than kGap bytes available in the buffer. 965 // Check if there is less than kGap bytes available in the buffer.
965 // If this is the case, we need to grow the buffer before emitting 966 // If this is the case, we need to grow the buffer before emitting
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 private: 1081 private:
1081 Assembler* assembler_; 1082 Assembler* assembler_;
1082 #ifdef DEBUG 1083 #ifdef DEBUG
1083 int space_before_; 1084 int space_before_;
1084 #endif 1085 #endif
1085 }; 1086 };
1086 1087
1087 } } // namespace v8::internal 1088 } } // namespace v8::internal
1088 1089
1089 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1090 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698