| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 const unsigned old_supported_; | 483 const unsigned old_supported_; |
| 484 }; | 484 }; |
| 485 | 485 |
| 486 private: | 486 private: |
| 487 #ifdef DEBUG | 487 #ifdef DEBUG |
| 488 static bool initialized_; | 488 static bool initialized_; |
| 489 #endif | 489 #endif |
| 490 static unsigned supported_; | 490 static unsigned supported_; |
| 491 static unsigned found_by_runtime_probing_; | 491 static unsigned found_by_runtime_probing_; |
| 492 | 492 |
| 493 friend class ExternalReference; |
| 493 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); | 494 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); |
| 494 }; | 495 }; |
| 495 | 496 |
| 496 | 497 |
| 497 class Assembler : public AssemblerBase { | 498 class Assembler : public AssemblerBase { |
| 498 public: | 499 public: |
| 499 // Create an assembler. Instructions and relocation information are emitted | 500 // Create an assembler. Instructions and relocation information are emitted |
| 500 // into a buffer, with the instructions starting from the beginning and the | 501 // into a buffer, with the instructions starting from the beginning and the |
| 501 // relocation information starting from the end of the buffer. See CodeDesc | 502 // relocation information starting from the end of the buffer. See CodeDesc |
| 502 // for a detailed comment on the layout (globals.h). | 503 // for a detailed comment on the layout (globals.h). |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 class EnsureSpace BASE_EMBEDDED { | 1273 class EnsureSpace BASE_EMBEDDED { |
| 1273 public: | 1274 public: |
| 1274 explicit EnsureSpace(Assembler* assembler) { | 1275 explicit EnsureSpace(Assembler* assembler) { |
| 1275 assembler->CheckBuffer(); | 1276 assembler->CheckBuffer(); |
| 1276 } | 1277 } |
| 1277 }; | 1278 }; |
| 1278 | 1279 |
| 1279 } } // namespace v8::internal | 1280 } } // namespace v8::internal |
| 1280 | 1281 |
| 1281 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1282 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |