| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 #ifdef DEBUG | 84 #ifdef DEBUG |
| 85 static bool initialized_; | 85 static bool initialized_; |
| 86 #endif | 86 #endif |
| 87 static unsigned supported_; | 87 static unsigned supported_; |
| 88 static unsigned found_by_runtime_probing_only_; | 88 static unsigned found_by_runtime_probing_only_; |
| 89 static unsigned cache_line_size_; | 89 static unsigned cache_line_size_; |
| 90 | 90 |
| 91 friend class ExternalReference; | 91 friend class ExternalReference; |
| 92 friend class PlatformFeatureScope; |
| 92 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); | 93 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 | 96 |
| 96 // CPU Registers. | 97 // CPU Registers. |
| 97 // | 98 // |
| 98 // 1) We would prefer to use an enum, but enum values are assignment- | 99 // 1) We would prefer to use an enum, but enum values are assignment- |
| 99 // compatible with int, which has caused code-generation bugs. | 100 // compatible with int, which has caused code-generation bugs. |
| 100 // | 101 // |
| 101 // 2) We would prefer to use a class instead of a struct but we don't like | 102 // 2) We would prefer to use a class instead of a struct but we don't like |
| (...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 public: | 1576 public: |
| 1576 explicit EnsureSpace(Assembler* assembler) { | 1577 explicit EnsureSpace(Assembler* assembler) { |
| 1577 assembler->CheckBuffer(); | 1578 assembler->CheckBuffer(); |
| 1578 } | 1579 } |
| 1579 }; | 1580 }; |
| 1580 | 1581 |
| 1581 | 1582 |
| 1582 } } // namespace v8::internal | 1583 } } // namespace v8::internal |
| 1583 | 1584 |
| 1584 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1585 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |