| 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 | 5 // modification, are permitted provided that the following conditions | 
| 6 // are met: | 6 // are 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 77   int bit() const  { | 77   int bit() const  { | 
| 78     ASSERT(is_valid()); | 78     ASSERT(is_valid()); | 
| 79     return 1 << code_; | 79     return 1 << code_; | 
| 80   } | 80   } | 
| 81 | 81 | 
| 82   // (unfortunately we can't make this private in a struct) | 82   // (unfortunately we can't make this private in a struct) | 
| 83   int code_; | 83   int code_; | 
| 84 }; | 84 }; | 
| 85 | 85 | 
| 86 | 86 | 
| 87 const int kNumRegisters = 16; |  | 
| 88 |  | 
| 89 extern Register no_reg; | 87 extern Register no_reg; | 
| 90 extern Register r0; | 88 extern Register r0; | 
| 91 extern Register r1; | 89 extern Register r1; | 
| 92 extern Register r2; | 90 extern Register r2; | 
| 93 extern Register r3; | 91 extern Register r3; | 
| 94 extern Register r4; | 92 extern Register r4; | 
| 95 extern Register r5; | 93 extern Register r5; | 
| 96 extern Register r6; | 94 extern Register r6; | 
| 97 extern Register r7; | 95 extern Register r7; | 
| 98 extern Register r8; | 96 extern Register r8; | 
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 781   void link_to(Label* L, Label* appendix); | 779   void link_to(Label* L, Label* appendix); | 
| 782   void next(Label* L); | 780   void next(Label* L); | 
| 783 | 781 | 
| 784   // Record reloc info for current pc_ | 782   // Record reloc info for current pc_ | 
| 785   void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 783   void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 
| 786 }; | 784 }; | 
| 787 | 785 | 
| 788 } }  // namespace v8::internal | 786 } }  // namespace v8::internal | 
| 789 | 787 | 
| 790 #endif  // V8_ARM_ASSEMBLER_ARM_H_ | 788 #endif  // V8_ARM_ASSEMBLER_ARM_H_ | 
| OLD | NEW | 
|---|