| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index c1a481745f3858d4371c24efe004a61ecafefe86..a0370dd19eedf75f3896c32417db99f1326bab2e 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -121,6 +121,7 @@ class LCodeGen;
|
| V(IsObjectAndBranch) \
|
| V(IsStringAndBranch) \
|
| V(IsSmiAndBranch) \
|
| + V(IsNumberAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| V(Label) \
|
| V(LazyBailout) \
|
| @@ -867,6 +868,19 @@ class LIsObjectAndBranch: public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| +class LIsNumberAndBranch: public LControlInstruction<1, 0> {
|
| + public:
|
| + explicit LIsNumberAndBranch(LOperand* value) {
|
| + inputs_[0] = value;
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch")
|
| + DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch)
|
| +};
|
| +
|
| +
|
| class LIsStringAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| explicit LIsStringAndBranch(LOperand* value, LOperand* temp) {
|
|
|