| 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 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 // TODO(lrn): Need SFENCE for movnt? | 1429 // TODO(lrn): Need SFENCE for movnt? |
| 1430 | 1430 |
| 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 generator continuation. |
| 1440 void RecordGeneratorContinuation(); |
| 1441 |
| 1439 // Mark address of a debug break slot. | 1442 // Mark address of a debug break slot. |
| 1440 void RecordDebugBreakSlot(); | 1443 void RecordDebugBreakSlot(); |
| 1441 void RecordDebugBreakSlotForCall(int argc); | 1444 void RecordDebugBreakSlotForCall(int argc); |
| 1442 void RecordDebugBreakSlotForConstructCall(); | 1445 void RecordDebugBreakSlotForConstructCall(); |
| 1443 | 1446 |
| 1444 // Record a comment relocation entry that can be used by a disassembler. | 1447 // Record a comment relocation entry that can be used by a disassembler. |
| 1445 // Use --code-comments to enable. | 1448 // Use --code-comments to enable. |
| 1446 void RecordComment(const char* msg); | 1449 void RecordComment(const char* msg); |
| 1447 | 1450 |
| 1448 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1451 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1604 private: | 1607 private: |
| 1605 Assembler* assembler_; | 1608 Assembler* assembler_; |
| 1606 #ifdef DEBUG | 1609 #ifdef DEBUG |
| 1607 int space_before_; | 1610 int space_before_; |
| 1608 #endif | 1611 #endif |
| 1609 }; | 1612 }; |
| 1610 | 1613 |
| 1611 } } // namespace v8::internal | 1614 } } // namespace v8::internal |
| 1612 | 1615 |
| 1613 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1616 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |