| Index: src/x64/lithium-x64.h
|
| ===================================================================
|
| --- src/x64/lithium-x64.h (revision 7622)
|
| +++ src/x64/lithium-x64.h (working copy)
|
| @@ -98,14 +98,15 @@
|
| V(GlobalObject) \
|
| V(GlobalReceiver) \
|
| V(Goto) \
|
| + V(HasCachedArrayIndex) \
|
| + V(HasCachedArrayIndexAndBranch) \
|
| V(HasInstanceType) \
|
| V(HasInstanceTypeAndBranch) \
|
| - V(HasCachedArrayIndex) \
|
| - V(HasCachedArrayIndexAndBranch) \
|
| V(InstanceOf) \
|
| V(InstanceOfAndBranch) \
|
| V(InstanceOfKnownGlobal) \
|
| V(Integer32ToDouble) \
|
| + V(InvokeFunction) \
|
| V(IsNull) \
|
| V(IsNullAndBranch) \
|
| V(IsObject) \
|
| @@ -1394,6 +1395,23 @@
|
| };
|
|
|
|
|
| +class LInvokeFunction: public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + LInvokeFunction(LOperand* function) {
|
| + inputs_[0] = function;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
|
| + DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
|
| +
|
| + LOperand* function() { return inputs_[0]; }
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +
|
| + int arity() const { return hydrogen()->argument_count() - 1; }
|
| +};
|
| +
|
| +
|
| class LCallKeyed: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LCallKeyed(LOperand* key) {
|
|
|