| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 } | 419 } |
| 420 | 420 |
| 421 private: | 421 private: |
| 422 #ifdef DEBUG | 422 #ifdef DEBUG |
| 423 static bool initialized_; | 423 static bool initialized_; |
| 424 #endif | 424 #endif |
| 425 static unsigned supported_; | 425 static unsigned supported_; |
| 426 static unsigned found_by_runtime_probing_only_; | 426 static unsigned found_by_runtime_probing_only_; |
| 427 | 427 |
| 428 friend class ExternalReference; | 428 friend class ExternalReference; |
| 429 friend class PlatformFeatureScope; |
| 429 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); | 430 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); |
| 430 }; | 431 }; |
| 431 | 432 |
| 432 | 433 |
| 433 class Assembler : public AssemblerBase { | 434 class Assembler : public AssemblerBase { |
| 434 public: | 435 public: |
| 435 // Create an assembler. Instructions and relocation information are emitted | 436 // Create an assembler. Instructions and relocation information are emitted |
| 436 // into a buffer, with the instructions starting from the beginning and the | 437 // into a buffer, with the instructions starting from the beginning and the |
| 437 // relocation information starting from the end of the buffer. See CodeDesc | 438 // relocation information starting from the end of the buffer. See CodeDesc |
| 438 // for a detailed comment on the layout (globals.h). | 439 // for a detailed comment on the layout (globals.h). |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1210 class EnsureSpace BASE_EMBEDDED { | 1211 class EnsureSpace BASE_EMBEDDED { |
| 1211 public: | 1212 public: |
| 1212 explicit EnsureSpace(Assembler* assembler) { | 1213 explicit EnsureSpace(Assembler* assembler) { |
| 1213 assembler->CheckBuffer(); | 1214 assembler->CheckBuffer(); |
| 1214 } | 1215 } |
| 1215 }; | 1216 }; |
| 1216 | 1217 |
| 1217 } } // namespace v8::internal | 1218 } } // namespace v8::internal |
| 1218 | 1219 |
| 1219 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1220 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |