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

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

Issue 191233003: 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
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 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 // Mark address of the ExitJSFrame code. 1450 // Mark address of the ExitJSFrame code.
1451 void RecordJSReturn(); 1451 void RecordJSReturn();
1452 1452
1453 // Mark address of a debug break slot. 1453 // Mark address of a debug break slot.
1454 void RecordDebugBreakSlot(); 1454 void RecordDebugBreakSlot();
1455 1455
1456 // Record a comment relocation entry that can be used by a disassembler. 1456 // Record a comment relocation entry that can be used by a disassembler.
1457 // Use --code-comments to enable. 1457 // Use --code-comments to enable.
1458 void RecordComment(const char* msg, bool force = false); 1458 void RecordComment(const char* msg, bool force = false);
1459 1459
1460 // Generate the constant pool for the generated code.
1461 void PopulateConstantPool(ConstantPoolArray* constant_pool);
1462
1460 // Writes a single word of data in the code stream. 1463 // Writes a single word of data in the code stream.
1461 // Used for inline tables, e.g., jump-tables. 1464 // Used for inline tables, e.g., jump-tables.
1462 void db(uint8_t data); 1465 void db(uint8_t data);
1463 void dd(uint32_t data); 1466 void dd(uint32_t data);
1464 1467
1465 PositionsRecorder* positions_recorder() { return &positions_recorder_; } 1468 PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1466 1469
1467 // Check if there is less than kGap bytes available in the buffer. 1470 // Check if there is less than kGap bytes available in the buffer.
1468 // If this is the case, we need to grow the buffer before emitting 1471 // If this is the case, we need to grow the buffer before emitting
1469 // an instruction or relocation information. 1472 // an instruction or relocation information.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1744 private: 1747 private:
1745 Assembler* assembler_; 1748 Assembler* assembler_;
1746 #ifdef DEBUG 1749 #ifdef DEBUG
1747 int space_before_; 1750 int space_before_;
1748 #endif 1751 #endif
1749 }; 1752 };
1750 1753
1751 } } // namespace v8::internal 1754 } } // namespace v8::internal
1752 1755
1753 #endif // V8_X64_ASSEMBLER_X64_H_ 1756 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« src/arm/macro-assembler-arm.cc ('K') | « src/v8globals.h ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698