| 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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 // Check the code size generated from label to here. | 1431 // Check the code size generated from label to here. |
| 1432 int SizeOfCodeGeneratedSince(Label* label) { | 1432 int SizeOfCodeGeneratedSince(Label* label) { |
| 1433 return pc_offset() - label->pos(); | 1433 return pc_offset() - label->pos(); |
| 1434 } | 1434 } |
| 1435 | 1435 |
| 1436 // Mark address of the ExitJSFrame code. | 1436 // Mark address of the ExitJSFrame code. |
| 1437 void RecordJSReturn(); | 1437 void RecordJSReturn(); |
| 1438 | 1438 |
| 1439 // Mark address of a debug break slot. | 1439 // Mark address of a debug break slot. |
| 1440 void RecordDebugBreakSlot(); | 1440 void RecordDebugBreakSlot(); |
| 1441 void RecordDebugBreakSlotForCall(int argc); |
| 1441 | 1442 |
| 1442 // Record a comment relocation entry that can be used by a disassembler. | 1443 // Record a comment relocation entry that can be used by a disassembler. |
| 1443 // Use --code-comments to enable. | 1444 // Use --code-comments to enable. |
| 1444 void RecordComment(const char* msg); | 1445 void RecordComment(const char* msg); |
| 1445 | 1446 |
| 1446 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1447 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1447 // Use --trace-deopt to enable. | 1448 // Use --trace-deopt to enable. |
| 1448 void RecordDeoptReason(const int reason, const SourcePosition position); | 1449 void RecordDeoptReason(const int reason, const SourcePosition position); |
| 1449 | 1450 |
| 1450 // Writes a single byte or word of data in the code stream. Used for | 1451 // Writes a single byte or word of data in the code stream. Used for |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1602 private: | 1603 private: |
| 1603 Assembler* assembler_; | 1604 Assembler* assembler_; |
| 1604 #ifdef DEBUG | 1605 #ifdef DEBUG |
| 1605 int space_before_; | 1606 int space_before_; |
| 1606 #endif | 1607 #endif |
| 1607 }; | 1608 }; |
| 1608 | 1609 |
| 1609 } } // namespace v8::internal | 1610 } } // namespace v8::internal |
| 1610 | 1611 |
| 1611 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1612 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |