| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index 20a69373c1241cb9b797acac4c57e8c1ac2b2494..8ca51ba68bb064dc0d9aa70ba981f17b5ff42d87 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -109,8 +109,10 @@ class LCodeGen;
|
| V(IsConstructCallAndBranch) \
|
| V(IsNilAndBranch) \
|
| V(IsObjectAndBranch) \
|
| + V(IsStringAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| + V(CompareGenericAndBranch) \
|
| V(JSArrayLength) \
|
| V(Label) \
|
| V(LazyBailout) \
|
| @@ -640,6 +642,19 @@ class LIsObjectAndBranch: public LControlInstruction<1, 0> {
|
| };
|
|
|
|
|
| +class LIsStringAndBranch: public LControlInstruction<1, 0> {
|
| + public:
|
| + explicit LIsStringAndBranch(LOperand* value) {
|
| + inputs_[0] = value;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch")
|
| + DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch)
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +};
|
| +
|
| +
|
| class LIsSmiAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsSmiAndBranch(LOperand* value) {
|
| @@ -668,6 +683,23 @@ class LIsUndetectableAndBranch: public LControlInstruction<1, 1> {
|
| };
|
|
|
|
|
| +class LCompareGenericAndBranch: public LControlInstruction<2, 0> {
|
| + public:
|
| + explicit LCompareGenericAndBranch(LOperand* left, LOperand* right) {
|
| + inputs_[0] = left;
|
| + inputs_[1] = right;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(CompareGenericAndBranch,
|
| + "compare-generic-and-branch")
|
| + DECLARE_HYDROGEN_ACCESSOR(CompareGenericAndBranch)
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +
|
| + Token::Value op() const { return hydrogen()->token(); }
|
| +};
|
| +
|
| +
|
| class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LHasInstanceTypeAndBranch(LOperand* value) {
|
|
|