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

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

Issue 204323004: Reland "Add out-of-line constant pool support to Arm." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/objects.h ('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 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 // Mark address of the ExitJSFrame code. 1455 // Mark address of the ExitJSFrame code.
1456 void RecordJSReturn(); 1456 void RecordJSReturn();
1457 1457
1458 // Mark address of a debug break slot. 1458 // Mark address of a debug break slot.
1459 void RecordDebugBreakSlot(); 1459 void RecordDebugBreakSlot();
1460 1460
1461 // Record a comment relocation entry that can be used by a disassembler. 1461 // Record a comment relocation entry that can be used by a disassembler.
1462 // Use --code-comments to enable. 1462 // Use --code-comments to enable.
1463 void RecordComment(const char* msg, bool force = false); 1463 void RecordComment(const char* msg, bool force = false);
1464 1464
1465 // Allocate a constant pool of the correct size for the generated code.
1466 MaybeObject* AllocateConstantPool(Heap* heap);
1467
1468 // Generate the constant pool for the generated code.
1469 void PopulateConstantPool(ConstantPoolArray* constant_pool);
1470
1465 // Writes a single word of data in the code stream. 1471 // Writes a single word of data in the code stream.
1466 // Used for inline tables, e.g., jump-tables. 1472 // Used for inline tables, e.g., jump-tables.
1467 void db(uint8_t data); 1473 void db(uint8_t data);
1468 void dd(uint32_t data); 1474 void dd(uint32_t data);
1469 1475
1470 PositionsRecorder* positions_recorder() { return &positions_recorder_; } 1476 PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1471 1477
1472 // Check if there is less than kGap bytes available in the buffer. 1478 // Check if there is less than kGap bytes available in the buffer.
1473 // If this is the case, we need to grow the buffer before emitting 1479 // If this is the case, we need to grow the buffer before emitting
1474 // an instruction or relocation information. 1480 // an instruction or relocation information.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1749 private: 1755 private:
1750 Assembler* assembler_; 1756 Assembler* assembler_;
1751 #ifdef DEBUG 1757 #ifdef DEBUG
1752 int space_before_; 1758 int space_before_;
1753 #endif 1759 #endif
1754 }; 1760 };
1755 1761
1756 } } // namespace v8::internal 1762 } } // namespace v8::internal
1757 1763
1758 #endif // V8_X64_ASSEMBLER_X64_H_ 1764 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698