| 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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 | 578 |
| 579 // Difference between address of current opcode and value read from pc | 579 // Difference between address of current opcode and value read from pc |
| 580 // register. | 580 // register. |
| 581 static const int kPcLoadDelta = 4; | 581 static const int kPcLoadDelta = 4; |
| 582 | 582 |
| 583 static const int kPatchDebugBreakSlotReturnOffset = 6 * kInstrSize; | 583 static const int kPatchDebugBreakSlotReturnOffset = 6 * kInstrSize; |
| 584 | 584 |
| 585 // Number of instructions used for the JS return sequence. The constant is | 585 // Number of instructions used for the JS return sequence. The constant is |
| 586 // used by the debugger to patch the JS return sequence. | 586 // used by the debugger to patch the JS return sequence. |
| 587 static const int kJSReturnSequenceInstructions = 7; | 587 static const int kJSReturnSequenceInstructions = 7; |
| 588 static const int kJSReturnSequenceLength = |
| 589 kJSReturnSequenceInstructions * kInstrSize; |
| 588 static const int kDebugBreakSlotInstructions = 6; | 590 static const int kDebugBreakSlotInstructions = 6; |
| 589 static const int kDebugBreakSlotLength = | 591 static const int kDebugBreakSlotLength = |
| 590 kDebugBreakSlotInstructions * kInstrSize; | 592 kDebugBreakSlotInstructions * kInstrSize; |
| 591 | 593 |
| 592 | 594 |
| 593 // --------------------------------------------------------------------------- | 595 // --------------------------------------------------------------------------- |
| 594 // Code generation. | 596 // Code generation. |
| 595 | 597 |
| 596 // Insert the smallest number of nop instructions | 598 // Insert the smallest number of nop instructions |
| 597 // possible to align the pc offset to a multiple | 599 // possible to align the pc offset to a multiple |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1428 class EnsureSpace BASE_EMBEDDED { | 1430 class EnsureSpace BASE_EMBEDDED { |
| 1429 public: | 1431 public: |
| 1430 explicit EnsureSpace(Assembler* assembler) { | 1432 explicit EnsureSpace(Assembler* assembler) { |
| 1431 assembler->CheckBuffer(); | 1433 assembler->CheckBuffer(); |
| 1432 } | 1434 } |
| 1433 }; | 1435 }; |
| 1434 | 1436 |
| 1435 } } // namespace v8::internal | 1437 } } // namespace v8::internal |
| 1436 | 1438 |
| 1437 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1439 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |