OLD | NEW |
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 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 // The first argument is the reg field, the second argument is the r/m field. | 1343 // The first argument is the reg field, the second argument is the r/m field. |
1344 void emit_sse_operand(XMMRegister dst, XMMRegister src); | 1344 void emit_sse_operand(XMMRegister dst, XMMRegister src); |
1345 void emit_sse_operand(XMMRegister reg, const Operand& adr); | 1345 void emit_sse_operand(XMMRegister reg, const Operand& adr); |
1346 void emit_sse_operand(XMMRegister dst, Register src); | 1346 void emit_sse_operand(XMMRegister dst, Register src); |
1347 void emit_sse_operand(Register dst, XMMRegister src); | 1347 void emit_sse_operand(Register dst, XMMRegister src); |
1348 | 1348 |
1349 // Debugging | 1349 // Debugging |
1350 void Print(); | 1350 void Print(); |
1351 | 1351 |
1352 // Check the code size generated from label to here. | 1352 // Check the code size generated from label to here. |
1353 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } | 1353 int SizeOfCodeGeneratedSince(Label* label) { |
| 1354 return pc_offset() - label->pos(); |
| 1355 } |
1354 | 1356 |
1355 // Mark address of the ExitJSFrame code. | 1357 // Mark address of the ExitJSFrame code. |
1356 void RecordJSReturn(); | 1358 void RecordJSReturn(); |
1357 | 1359 |
1358 // Mark address of a debug break slot. | 1360 // Mark address of a debug break slot. |
1359 void RecordDebugBreakSlot(); | 1361 void RecordDebugBreakSlot(); |
1360 | 1362 |
1361 // Record a comment relocation entry that can be used by a disassembler. | 1363 // Record a comment relocation entry that can be used by a disassembler. |
1362 // Use --code-comments to enable. | 1364 // Use --code-comments to enable. |
1363 void RecordComment(const char* msg, bool force = false); | 1365 void RecordComment(const char* msg, bool force = false); |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 private: | 1627 private: |
1626 Assembler* assembler_; | 1628 Assembler* assembler_; |
1627 #ifdef DEBUG | 1629 #ifdef DEBUG |
1628 int space_before_; | 1630 int space_before_; |
1629 #endif | 1631 #endif |
1630 }; | 1632 }; |
1631 | 1633 |
1632 } } // namespace v8::internal | 1634 } } // namespace v8::internal |
1633 | 1635 |
1634 #endif // V8_X64_ASSEMBLER_X64_H_ | 1636 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |