Changeset 103604 in webkit for trunk/Source/JavaScriptCore/dfg/DFGNode.h
- Timestamp:
- Dec 22, 2011, 9:47:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGNode.h
r103255 r103604 932 932 bool shouldSpeculateInt8Array() 933 933 { 934 return prediction() == PredictInt8Array;934 return isInt8ArrayPrediction(prediction()); 935 935 } 936 936 937 937 bool shouldSpeculateInt16Array() 938 938 { 939 return prediction() == PredictInt16Array;939 return isInt16ArrayPrediction(prediction()); 940 940 } 941 941 942 942 bool shouldSpeculateInt32Array() 943 943 { 944 return prediction() == PredictInt32Array;944 return isInt32ArrayPrediction(prediction()); 945 945 } 946 946 947 947 bool shouldSpeculateUint8Array() 948 948 { 949 return prediction() == PredictUint8Array;949 return isUint8ArrayPrediction(prediction()); 950 950 } 951 951 952 952 bool shouldSpeculateUint16Array() 953 953 { 954 return prediction() == PredictUint16Array;954 return isUint16ArrayPrediction(prediction()); 955 955 } 956 956 957 957 bool shouldSpeculateUint32Array() 958 958 { 959 return prediction() == PredictUint32Array;959 return isUint32ArrayPrediction(prediction()); 960 960 } 961 961 … … 963 963 { 964 964 #if CPU(X86) || CPU(X86_64) 965 return !!(prediction() & PredictFloat32Array);965 return isFloat32ArrayPrediction(prediction()); 966 966 #else 967 967 return false; … … 971 971 bool shouldSpeculateFloat64Array() 972 972 { 973 return prediction() == PredictFloat64Array;973 return isFloat64ArrayPrediction(prediction()); 974 974 } 975 975
Note:
See TracChangeset
for help on using the changeset viewer.