| 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 kDebugBreakSlotInstructions * kInstrSize; | 599 kDebugBreakSlotInstructions * kInstrSize; |
| 600 | 600 |
| 601 | 601 |
| 602 // --------------------------------------------------------------------------- | 602 // --------------------------------------------------------------------------- |
| 603 // Code generation. | 603 // Code generation. |
| 604 | 604 |
| 605 // Insert the smallest number of nop instructions | 605 // Insert the smallest number of nop instructions |
| 606 // possible to align the pc offset to a multiple | 606 // possible to align the pc offset to a multiple |
| 607 // of m. m must be a power of 2 (>= 4). | 607 // of m. m must be a power of 2 (>= 4). |
| 608 void Align(int m); | 608 void Align(int m); |
| 609 // Insert the smallest number of zero bytes possible to align the pc offset |
| 610 // to a mulitple of m. m must be a power of 2 (>= 2). |
| 611 void DataAlign(int m); |
| 609 // Aligns code to something that's optimal for a jump target for the platform. | 612 // Aligns code to something that's optimal for a jump target for the platform. |
| 610 void CodeTargetAlign(); | 613 void CodeTargetAlign(); |
| 611 | 614 |
| 612 // Different nop operations are used by the code generator to detect certain | 615 // Different nop operations are used by the code generator to detect certain |
| 613 // states of the generated code. | 616 // states of the generated code. |
| 614 enum NopMarkerTypes { | 617 enum NopMarkerTypes { |
| 615 NON_MARKING_NOP = 0, | 618 NON_MARKING_NOP = 0, |
| 616 DEBUG_BREAK_NOP, | 619 DEBUG_BREAK_NOP, |
| 617 // IC markers. | 620 // IC markers. |
| 618 PROPERTY_ACCESS_INLINED, | 621 PROPERTY_ACCESS_INLINED, |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 class EnsureSpace BASE_EMBEDDED { | 1444 class EnsureSpace BASE_EMBEDDED { |
| 1442 public: | 1445 public: |
| 1443 explicit EnsureSpace(Assembler* assembler) { | 1446 explicit EnsureSpace(Assembler* assembler) { |
| 1444 assembler->CheckBuffer(); | 1447 assembler->CheckBuffer(); |
| 1445 } | 1448 } |
| 1446 }; | 1449 }; |
| 1447 | 1450 |
| 1448 } } // namespace v8::internal | 1451 } } // namespace v8::internal |
| 1449 | 1452 |
| 1450 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1453 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |