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

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

Issue 6499015: Make sure we always have room for patching the reloc info during lazy deoptim... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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
« no previous file with comments | « src/assembler.cc ('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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 // Check the code size generated from label to here. 950 // Check the code size generated from label to here.
951 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } 951 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); }
952 952
953 // Mark address of the ExitJSFrame code. 953 // Mark address of the ExitJSFrame code.
954 void RecordJSReturn(); 954 void RecordJSReturn();
955 955
956 // Mark address of a debug break slot. 956 // Mark address of a debug break slot.
957 void RecordDebugBreakSlot(); 957 void RecordDebugBreakSlot();
958 958
959 // Record a comment relocation entry that can be used by a disassembler. 959 // Record a comment relocation entry that can be used by a disassembler.
960 // Use --code-comments to enable. 960 // Use --code-comments to enable, or provide "force = true" flag to always
961 void RecordComment(const char* msg); 961 // write a comment.
962 void RecordComment(const char* msg, bool force = false);
962 963
963 // Writes a single byte or word of data in the code stream. Used for 964 // Writes a single byte or word of data in the code stream. Used for
964 // inline tables, e.g., jump-tables. 965 // inline tables, e.g., jump-tables.
965 void db(uint8_t data); 966 void db(uint8_t data);
966 void dd(uint32_t data); 967 void dd(uint32_t data);
967 968
968 int pc_offset() const { return pc_ - buffer_; } 969 int pc_offset() const { return pc_ - buffer_; }
969 970
970 // Check if there is less than kGap bytes available in the buffer. 971 // Check if there is less than kGap bytes available in the buffer.
971 // If this is the case, we need to grow the buffer before emitting 972 // 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
1086 private: 1087 private:
1087 Assembler* assembler_; 1088 Assembler* assembler_;
1088 #ifdef DEBUG 1089 #ifdef DEBUG
1089 int space_before_; 1090 int space_before_;
1090 #endif 1091 #endif
1091 }; 1092 };
1092 1093
1093 } } // namespace v8::internal 1094 } } // namespace v8::internal
1094 1095
1095 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1096 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698