| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 5165f1bbb6dcaea5515e287dec7192137c846cc3..d3146719f8a49c422964a04b21128301015b1b15 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -40,12 +40,6 @@ namespace internal {
|
| // Forward declarations.
|
| class LCodeGen;
|
|
|
| -#define LITHIUM_ALL_INSTRUCTION_LIST(V) \
|
| - V(ControlInstruction) \
|
| - V(Call) \
|
| - LITHIUM_CONCRETE_INSTRUCTION_LIST(V)
|
| -
|
| -
|
| #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
|
| V(AccessArgumentsAt) \
|
| V(AddI) \
|
| @@ -73,13 +67,13 @@ class LCodeGen;
|
| V(CheckInstanceType) \
|
| V(CheckNonSmi) \
|
| V(CheckMaps) \
|
| + V(CheckMapValue) \
|
| V(CheckPrototypeMaps) \
|
| V(CheckSmi) \
|
| V(ClampDToUint8) \
|
| V(ClampIToUint8) \
|
| V(ClampTToUint8) \
|
| V(ClassOfTestAndBranch) \
|
| - V(CmpConstantEqAndBranch) \
|
| V(CompareNumericAndBranch) \
|
| V(CmpObjectEqAndBranch) \
|
| V(CmpMapAndBranch) \
|
| @@ -89,14 +83,18 @@ class LCodeGen;
|
| V(ConstantS) \
|
| V(ConstantT) \
|
| V(Context) \
|
| + V(DateField) \
|
| V(DebugBreak) \
|
| V(DeclareGlobals) \
|
| V(Deoptimize) \
|
| V(DivI) \
|
| V(DoubleToI) \
|
| V(DoubleToSmi) \
|
| + V(Drop) \
|
| V(DummyUse) \
|
| V(ElementsKind) \
|
| + V(ForInCacheArray) \
|
| + V(ForInPrepareMap) \
|
| V(FunctionLiteral) \
|
| V(GetCachedArrayIndex) \
|
| V(GlobalObject) \
|
| @@ -104,13 +102,13 @@ class LCodeGen;
|
| V(Goto) \
|
| V(HasCachedArrayIndexAndBranch) \
|
| V(HasInstanceTypeAndBranch) \
|
| + V(InnerAllocatedObject) \
|
| V(InstanceOf) \
|
| V(InstanceOfKnownGlobal) \
|
| V(InstanceSize) \
|
| V(InstructionGap) \
|
| V(Integer32ToDouble) \
|
| V(Integer32ToSmi) \
|
| - V(Uint32ToDouble) \
|
| V(InvokeFunction) \
|
| V(IsConstructCallAndBranch) \
|
| V(IsObjectAndBranch) \
|
| @@ -123,6 +121,7 @@ class LCodeGen;
|
| V(LinkObjectInList) \
|
| V(LoadContextSlot) \
|
| V(LoadExternalArrayPointer) \
|
| + V(LoadFieldByIndex) \
|
| V(LoadFunctionPrototype) \
|
| V(LoadGlobalCell) \
|
| V(LoadGlobalGeneric) \
|
| @@ -187,16 +186,10 @@ class LCodeGen;
|
| V(TrapAllocationMemento) \
|
| V(Typeof) \
|
| V(TypeofIsAndBranch) \
|
| + V(Uint32ToDouble) \
|
| V(UnknownOSRValue) \
|
| V(ValueOf) \
|
| - V(ForInPrepareMap) \
|
| - V(ForInCacheArray) \
|
| - V(CheckMapValue) \
|
| - V(LoadFieldByIndex) \
|
| - V(DateField) \
|
| - V(WrapReceiver) \
|
| - V(Drop) \
|
| - V(InnerAllocatedObject)
|
| + V(WrapReceiver)
|
|
|
|
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| @@ -433,6 +426,7 @@ class LDummyUse: public LTemplateInstruction<1, 1, 0> {
|
| class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
|
| + DECLARE_HYDROGEN_ACCESSOR(Deoptimize)
|
| };
|
|
|
|
|
| @@ -894,20 +888,6 @@ class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> {
|
| };
|
|
|
|
|
| -class LCmpConstantEqAndBranch: public LControlInstruction<1, 0> {
|
| - public:
|
| - explicit LCmpConstantEqAndBranch(LOperand* left) {
|
| - inputs_[0] = left;
|
| - }
|
| -
|
| - LOperand* left() { return inputs_[0]; }
|
| -
|
| - DECLARE_CONCRETE_INSTRUCTION(CmpConstantEqAndBranch,
|
| - "cmp-constant-eq-and-branch")
|
| - DECLARE_HYDROGEN_ACCESSOR(CompareConstantEqAndBranch)
|
| -};
|
| -
|
| -
|
| class LIsObjectAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| LIsObjectAndBranch(LOperand* value, LOperand* temp) {
|
| @@ -2256,19 +2236,16 @@ class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
|
| };
|
|
|
|
|
| -class LTransitionElementsKind: public LTemplateInstruction<0, 1, 2> {
|
| +class LTransitionElementsKind: public LTemplateInstruction<0, 1, 1> {
|
| public:
|
| LTransitionElementsKind(LOperand* object,
|
| - LOperand* new_map_temp,
|
| - LOperand* fixed_object_temp) {
|
| + LOperand* new_map_temp) {
|
| inputs_[0] = object;
|
| temps_[0] = new_map_temp;
|
| - temps_[1] = fixed_object_temp;
|
| }
|
|
|
| LOperand* object() { return inputs_[0]; }
|
| LOperand* new_map_temp() { return temps_[0]; }
|
| - LOperand* temp() { return temps_[1]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
|
| "transition-elements-kind")
|
| @@ -2440,15 +2417,13 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| -class LClampDToUint8: public LTemplateInstruction<1, 1, 1> {
|
| +class LClampDToUint8: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| - LClampDToUint8(LOperand* unclamped, LOperand* temp) {
|
| + explicit LClampDToUint8(LOperand* unclamped) {
|
| inputs_[0] = unclamped;
|
| - temps_[0] = temp;
|
| }
|
|
|
| LOperand* unclamped() { return inputs_[0]; }
|
| - LOperand* temp() { return temps_[0]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8")
|
| };
|
|
|