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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 NON_MARKING_NOP = 0, | 576 NON_MARKING_NOP = 0, |
577 DEBUG_BREAK_NOP, | 577 DEBUG_BREAK_NOP, |
578 // IC markers. | 578 // IC markers. |
579 PROPERTY_ACCESS_INLINED, | 579 PROPERTY_ACCESS_INLINED, |
580 PROPERTY_ACCESS_INLINED_CONTEXT, | 580 PROPERTY_ACCESS_INLINED_CONTEXT, |
581 PROPERTY_ACCESS_INLINED_CONTEXT_DONT_DELETE, | 581 PROPERTY_ACCESS_INLINED_CONTEXT_DONT_DELETE, |
582 // Helper values. | 582 // Helper values. |
583 LAST_CODE_MARKER, | 583 LAST_CODE_MARKER, |
584 FIRST_IC_MARKER = PROPERTY_ACCESS_INLINED, | 584 FIRST_IC_MARKER = PROPERTY_ACCESS_INLINED, |
585 // Code aging | 585 // Code aging |
586 CODE_AGE_MARKER_NOP = 6 | 586 CODE_AGE_MARKER_NOP = 6, |
| 587 CODE_AGE_SEQUENCE_NOP |
587 }; | 588 }; |
588 | 589 |
589 // Type == 0 is the default non-marking nop. For mips this is a | 590 // Type == 0 is the default non-marking nop. For mips this is a |
590 // sll(zero_reg, zero_reg, 0). We use rt_reg == at for non-zero | 591 // sll(zero_reg, zero_reg, 0). We use rt_reg == at for non-zero |
591 // marking, to avoid conflict with ssnop and ehb instructions. | 592 // marking, to avoid conflict with ssnop and ehb instructions. |
592 void nop(unsigned int type = 0) { | 593 void nop(unsigned int type = 0) { |
593 ASSERT(type < 32); | 594 ASSERT(type < 32); |
594 Register nop_rt_reg = (type == 0) ? zero_reg : at; | 595 Register nop_rt_reg = (type == 0) ? zero_reg : at; |
595 sll(zero_reg, nop_rt_reg, type, true); | 596 sll(zero_reg, nop_rt_reg, type, true); |
596 } | 597 } |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1204 class EnsureSpace BASE_EMBEDDED { | 1205 class EnsureSpace BASE_EMBEDDED { |
1205 public: | 1206 public: |
1206 explicit EnsureSpace(Assembler* assembler) { | 1207 explicit EnsureSpace(Assembler* assembler) { |
1207 assembler->CheckBuffer(); | 1208 assembler->CheckBuffer(); |
1208 } | 1209 } |
1209 }; | 1210 }; |
1210 | 1211 |
1211 } } // namespace v8::internal | 1212 } } // namespace v8::internal |
1212 | 1213 |
1213 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1214 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |