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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 Logger::DeleteEventStatic(name, object); \ | 602 Logger::DeleteEventStatic(name, object); \ |
603 ::operator delete(object); \ | 603 ::operator delete(object); \ |
604 } | 604 } |
605 #else | 605 #else |
606 #define TRACK_MEMORY(name) | 606 #define TRACK_MEMORY(name) |
607 #endif | 607 #endif |
608 | 608 |
609 | 609 |
610 // CPU feature flags. | 610 // CPU feature flags. |
611 enum CpuFeature { | 611 enum CpuFeature { |
612 // x86 | 612 // x86 |
613 SSE4_1, | 613 SSE4_1, |
614 SSE3, | 614 SSE3, |
615 SAHF, | 615 SAHF, |
616 // ARM | 616 // ARM |
617 VFP3, | 617 VFP3, |
618 ARMv7, | 618 ARMv7, |
619 SUDIV, | 619 ARMv8, |
620 MLS, | 620 SUDIV, |
621 UNALIGNED_ACCESSES, | 621 MLS, |
622 MOVW_MOVT_IMMEDIATE_LOADS, | 622 UNALIGNED_ACCESSES, |
623 VFP32DREGS, | 623 MOVW_MOVT_IMMEDIATE_LOADS, |
624 NEON, | 624 VFP32DREGS, |
625 // MIPS, MIPS64 | 625 NEON, |
626 FPU, | 626 // MIPS, MIPS64 |
627 FP64FPU, | 627 FPU, |
628 MIPSr1, | 628 FP64FPU, |
629 MIPSr2, | 629 MIPSr1, |
630 MIPSr6, | 630 MIPSr2, |
631 // ARM64 | 631 MIPSr6, |
632 ALWAYS_ALIGN_CSP, | 632 // ARM64 |
633 NUMBER_OF_CPU_FEATURES | 633 ALWAYS_ALIGN_CSP, |
| 634 NUMBER_OF_CPU_FEATURES |
634 }; | 635 }; |
635 | 636 |
636 | 637 |
637 // Used to specify if a macro instruction must perform a smi check on tagged | 638 // Used to specify if a macro instruction must perform a smi check on tagged |
638 // values. | 639 // values. |
639 enum SmiCheckType { | 640 enum SmiCheckType { |
640 DONT_DO_SMI_CHECK, | 641 DONT_DO_SMI_CHECK, |
641 DO_SMI_CHECK | 642 DO_SMI_CHECK |
642 }; | 643 }; |
643 | 644 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 | 806 |
806 inline bool IsConciseMethod(FunctionKind kind) { | 807 inline bool IsConciseMethod(FunctionKind kind) { |
807 DCHECK(IsValidFunctionKind(kind)); | 808 DCHECK(IsValidFunctionKind(kind)); |
808 return kind & FunctionKind::kConciseMethod; | 809 return kind & FunctionKind::kConciseMethod; |
809 } | 810 } |
810 } } // namespace v8::internal | 811 } } // namespace v8::internal |
811 | 812 |
812 namespace i = v8::internal; | 813 namespace i = v8::internal; |
813 | 814 |
814 #endif // V8_GLOBALS_H_ | 815 #endif // V8_GLOBALS_H_ |
OLD | NEW |