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

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

Issue 6321012: Version 3.0.9... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 11 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/version.cc ('k') | src/x64/assembler-x64.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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 1254
1255 // Mark address of a debug break slot. 1255 // Mark address of a debug break slot.
1256 void RecordDebugBreakSlot(); 1256 void RecordDebugBreakSlot();
1257 1257
1258 // Record a comment relocation entry that can be used by a disassembler. 1258 // Record a comment relocation entry that can be used by a disassembler.
1259 // Use --code-comments to enable. 1259 // Use --code-comments to enable.
1260 void RecordComment(const char* msg); 1260 void RecordComment(const char* msg);
1261 1261
1262 // Writes a single word of data in the code stream. 1262 // Writes a single word of data in the code stream.
1263 // Used for inline tables, e.g., jump-tables. 1263 // Used for inline tables, e.g., jump-tables.
1264 void db(uint8_t data) { UNIMPLEMENTED(); } 1264 void db(uint8_t data);
1265 void dd(uint32_t data); 1265 void dd(uint32_t data);
1266 1266
1267 int pc_offset() const { return static_cast<int>(pc_ - buffer_); } 1267 int pc_offset() const { return static_cast<int>(pc_ - buffer_); }
1268 1268
1269 PositionsRecorder* positions_recorder() { return &positions_recorder_; } 1269 PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1270 1270
1271 // Check if there is less than kGap bytes available in the buffer. 1271 // Check if there is less than kGap bytes available in the buffer.
1272 // If this is the case, we need to grow the buffer before emitting 1272 // If this is the case, we need to grow the buffer before emitting
1273 // an instruction or relocation information. 1273 // an instruction or relocation information.
1274 inline bool buffer_overflow() const { 1274 inline bool buffer_overflow() const {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 private: 1518 private:
1519 Assembler* assembler_; 1519 Assembler* assembler_;
1520 #ifdef DEBUG 1520 #ifdef DEBUG
1521 int space_before_; 1521 int space_before_;
1522 #endif 1522 #endif
1523 }; 1523 };
1524 1524
1525 } } // namespace v8::internal 1525 } } // namespace v8::internal
1526 1526
1527 #endif // V8_X64_ASSEMBLER_X64_H_ 1527 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/version.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698