Remove a bunch of copies

Reviewed By: astreet

Differential Revision: D3475592

fbshipit-source-id: 37148bb8d8d47e9301ad549b183029337f7c4ca0
This commit is contained in:
Alexander Blom
2016-07-07 08:44:01 -07:00
committed by Facebook Github Bot 1
parent 95401aba72
commit be0abd17e5
5 changed files with 17 additions and 18 deletions

View File

@@ -297,8 +297,8 @@ void CatalystInstanceImpl::callJSFunction(
// strings otherwise. Eventually, we'll probably want to modify the stack
// from the JS proxy through here to use strings, too.
instance_->callJSFunction(token->getExecutorToken(nullptr),
module,
method,
std::move(module),
std::move(method),
std::move(arguments->array));
}