mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895985 - Remove CallInfo lambda data. (r=djvj)
This commit is contained in:
parent
718e8ca64e
commit
efc59990b1
@ -4787,9 +4787,6 @@ IonBuilder::jsop_call(uint32_t argc, bool constructing)
|
||||
if (!callInfo.init(current, argc))
|
||||
return false;
|
||||
|
||||
if (gotLambda && targets.length() > 0)
|
||||
callInfo.setLambda(true);
|
||||
|
||||
// Try inlining
|
||||
InliningStatus status = inlineCallsite(targets, originals, gotLambda, callInfo);
|
||||
if (status == InliningStatus_Inlined)
|
||||
|
@ -658,7 +658,6 @@ class CallInfo
|
||||
Vector<MDefinition *> args_;
|
||||
|
||||
bool constructing_;
|
||||
bool lambda_;
|
||||
|
||||
public:
|
||||
CallInfo(JSContext *cx, bool constructing)
|
||||
@ -752,13 +751,6 @@ class CallInfo
|
||||
return constructing_;
|
||||
}
|
||||
|
||||
bool isLambda() const {
|
||||
return lambda_;
|
||||
}
|
||||
void setLambda(bool lambda) {
|
||||
lambda_ = lambda;
|
||||
}
|
||||
|
||||
void wrapArgs(MBasicBlock *current) {
|
||||
thisArg_ = wrap(current, thisArg_);
|
||||
for (uint32_t i = 0; i < argc(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user