| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); | 236 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); |
| 237 }; | 237 }; |
| 238 | 238 |
| 239 | 239 |
| 240 // ----------------------------------------------------------------------------- | 240 // ----------------------------------------------------------------------------- |
| 241 // Labels represent pc locations; they are typically jump or call targets. | 241 // Labels represent pc locations; they are typically jump or call targets. |
| 242 // After declaration, a label can be freely used to denote known or (yet) | 242 // After declaration, a label can be freely used to denote known or (yet) |
| 243 // unknown pc location. Assembler::bind() is used to bind a label to the | 243 // unknown pc location. Assembler::bind() is used to bind a label to the |
| 244 // current pc. A label can be bound only once. | 244 // current pc. A label can be bound only once. |
| 245 | 245 |
| 246 class Label BASE_EMBEDDED { | 246 class Label { |
| 247 public: | 247 public: |
| 248 enum Distance { | 248 enum Distance { |
| 249 kNear, kFar | 249 kNear, kFar |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 INLINE(Label()) { | 252 INLINE(Label()) { |
| 253 Unuse(); | 253 Unuse(); |
| 254 UnuseNear(); | 254 UnuseNear(); |
| 255 } | 255 } |
| 256 | 256 |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 NullCallWrapper() { } | 1130 NullCallWrapper() { } |
| 1131 virtual ~NullCallWrapper() { } | 1131 virtual ~NullCallWrapper() { } |
| 1132 virtual void BeforeCall(int call_size) const { } | 1132 virtual void BeforeCall(int call_size) const { } |
| 1133 virtual void AfterCall() const { } | 1133 virtual void AfterCall() const { } |
| 1134 }; | 1134 }; |
| 1135 | 1135 |
| 1136 | 1136 |
| 1137 } } // namespace v8::internal | 1137 } } // namespace v8::internal |
| 1138 | 1138 |
| 1139 #endif // V8_ASSEMBLER_H_ | 1139 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |