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 #include "src/crankshaft/hydrogen-instructions.h" | 5 #include "src/crankshaft/hydrogen-instructions.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/base/safe_math.h" | 8 #include "src/base/safe_math.h" |
9 #include "src/crankshaft/hydrogen-infer-representation.h" | 9 #include "src/crankshaft/hydrogen-infer-representation.h" |
10 #include "src/double.h" | 10 #include "src/double.h" |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 case HValue::kDummyUse: | 795 case HValue::kDummyUse: |
796 case HValue::kEnterInlined: | 796 case HValue::kEnterInlined: |
797 case HValue::kEnvironmentMarker: | 797 case HValue::kEnvironmentMarker: |
798 case HValue::kForceRepresentation: | 798 case HValue::kForceRepresentation: |
799 case HValue::kGetCachedArrayIndex: | 799 case HValue::kGetCachedArrayIndex: |
800 case HValue::kGoto: | 800 case HValue::kGoto: |
801 case HValue::kHasCachedArrayIndexAndBranch: | 801 case HValue::kHasCachedArrayIndexAndBranch: |
802 case HValue::kHasInstanceTypeAndBranch: | 802 case HValue::kHasInstanceTypeAndBranch: |
803 case HValue::kInnerAllocatedObject: | 803 case HValue::kInnerAllocatedObject: |
804 case HValue::kInstanceOf: | 804 case HValue::kInstanceOf: |
805 case HValue::kHasInPrototypeChainAndBranch: | |
806 case HValue::kIsSmiAndBranch: | 805 case HValue::kIsSmiAndBranch: |
807 case HValue::kIsStringAndBranch: | 806 case HValue::kIsStringAndBranch: |
808 case HValue::kIsUndetectableAndBranch: | 807 case HValue::kIsUndetectableAndBranch: |
809 case HValue::kLeaveInlined: | 808 case HValue::kLeaveInlined: |
810 case HValue::kLoadFieldByIndex: | 809 case HValue::kLoadFieldByIndex: |
811 case HValue::kLoadGlobalGeneric: | 810 case HValue::kLoadGlobalGeneric: |
812 case HValue::kLoadNamedField: | 811 case HValue::kLoadNamedField: |
813 case HValue::kLoadNamedGeneric: | 812 case HValue::kLoadNamedGeneric: |
814 case HValue::kLoadRoot: | 813 case HValue::kLoadRoot: |
815 case HValue::kMapEnumLength: | 814 case HValue::kMapEnumLength: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 case HValue::kCheckMapValue: | 847 case HValue::kCheckMapValue: |
849 case HValue::kCheckMaps: | 848 case HValue::kCheckMaps: |
850 case HValue::kCheckSmi: | 849 case HValue::kCheckSmi: |
851 case HValue::kCheckValue: | 850 case HValue::kCheckValue: |
852 case HValue::kClampToUint8: | 851 case HValue::kClampToUint8: |
853 case HValue::kDateField: | 852 case HValue::kDateField: |
854 case HValue::kDeoptimize: | 853 case HValue::kDeoptimize: |
855 case HValue::kDiv: | 854 case HValue::kDiv: |
856 case HValue::kForInCacheArray: | 855 case HValue::kForInCacheArray: |
857 case HValue::kForInPrepareMap: | 856 case HValue::kForInPrepareMap: |
| 857 case HValue::kHasInPrototypeChainAndBranch: |
858 case HValue::kInvokeFunction: | 858 case HValue::kInvokeFunction: |
859 case HValue::kLoadContextSlot: | 859 case HValue::kLoadContextSlot: |
860 case HValue::kLoadFunctionPrototype: | 860 case HValue::kLoadFunctionPrototype: |
861 case HValue::kLoadKeyed: | 861 case HValue::kLoadKeyed: |
862 case HValue::kLoadKeyedGeneric: | 862 case HValue::kLoadKeyedGeneric: |
863 case HValue::kMathFloorOfDiv: | 863 case HValue::kMathFloorOfDiv: |
864 case HValue::kMaybeGrowElements: | 864 case HValue::kMaybeGrowElements: |
865 case HValue::kMod: | 865 case HValue::kMod: |
866 case HValue::kMul: | 866 case HValue::kMul: |
867 case HValue::kOsrEntry: | 867 case HValue::kOsrEntry: |
(...skipping 3826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4694 case HObjectAccess::kExternalMemory: | 4694 case HObjectAccess::kExternalMemory: |
4695 os << "[external-memory]"; | 4695 os << "[external-memory]"; |
4696 break; | 4696 break; |
4697 } | 4697 } |
4698 | 4698 |
4699 return os << "@" << access.offset(); | 4699 return os << "@" << access.offset(); |
4700 } | 4700 } |
4701 | 4701 |
4702 } // namespace internal | 4702 } // namespace internal |
4703 } // namespace v8 | 4703 } // namespace v8 |
OLD | NEW |