| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
| 6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 #define TRACK_MEMORY(name) | 610 #define TRACK_MEMORY(name) |
| 611 #endif | 611 #endif |
| 612 | 612 |
| 613 | 613 |
| 614 // CPU feature flags. | 614 // CPU feature flags. |
| 615 enum CpuFeature { | 615 enum CpuFeature { |
| 616 // x86 | 616 // x86 |
| 617 SSE4_1, | 617 SSE4_1, |
| 618 SSE3, | 618 SSE3, |
| 619 SAHF, | 619 SAHF, |
| 620 AVX, |
| 621 FMA3, |
| 620 // ARM | 622 // ARM |
| 621 VFP3, | 623 VFP3, |
| 622 ARMv7, | 624 ARMv7, |
| 623 ARMv8, | 625 ARMv8, |
| 624 SUDIV, | 626 SUDIV, |
| 625 MLS, | 627 MLS, |
| 626 UNALIGNED_ACCESSES, | 628 UNALIGNED_ACCESSES, |
| 627 MOVW_MOVT_IMMEDIATE_LOADS, | 629 MOVW_MOVT_IMMEDIATE_LOADS, |
| 628 VFP32DREGS, | 630 VFP32DREGS, |
| 629 NEON, | 631 NEON, |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 DCHECK(IsValidFunctionKind(kind)); | 822 DCHECK(IsValidFunctionKind(kind)); |
| 821 return kind & FunctionKind::kDefaultConstructor; | 823 return kind & FunctionKind::kDefaultConstructor; |
| 822 } | 824 } |
| 823 | 825 |
| 824 | 826 |
| 825 } } // namespace v8::internal | 827 } } // namespace v8::internal |
| 826 | 828 |
| 827 namespace i = v8::internal; | 829 namespace i = v8::internal; |
| 828 | 830 |
| 829 #endif // V8_GLOBALS_H_ | 831 #endif // V8_GLOBALS_H_ |
| OLD | NEW |