Remove unconditional assert from addNativeTracingHooks. Do nothing instead.

Summary:
This line was and apparently has always been triggered from the
HermesExecutorFactory. We just didn't notice because we didn't build with
assertions.

Changelog: [Internal] Don't crash on load when assertions and Hermes are enabled

Reviewed By: dulinriley

Differential Revision: D20163138

fbshipit-source-id: af672bb51eeb1833f3e27ad9a00921731c345fc5
This commit is contained in:
Will Holen
2020-03-02 14:51:34 -08:00
committed by Facebook Github Bot
parent b8715dc31c
commit 3508017fb3
@@ -10,7 +10,7 @@
namespace facebook {
namespace jsi {
void addNativeTracingHooks(Runtime &rt) {
assert(false && "unimplemented");
// Unimplemented
}
} // namespace jsi
} // namespace facebook