diff --git a/src/passes/LegalizeJSInterface.cpp b/src/passes/LegalizeJSInterface.cpp index 7b6a4c44cdd..ecf1adbc3be 100644 --- a/src/passes/LegalizeJSInterface.cpp +++ b/src/passes/LegalizeJSInterface.cpp @@ -161,9 +161,6 @@ struct LegalizeJSInterface : public Pass { module->removeFunction(pair.first); } } - - module->removeExport(GET_TEMP_RET_EXPORT); - module->removeExport(SET_TEMP_RET_EXPORT); } private: