Skip to content

Commit

Permalink
Remove unused flags for Hermes VM (facebook#47244)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#47244

Changelog: [internal]

Reviewed By: rshest

Differential Revision: D65062303

fbshipit-source-id: 7372536643636b8a1923d9e1194ebca45f856e57
  • Loading branch information
rubennorte authored and facebook-github-bot committed Oct 29, 2024
1 parent f503fe3 commit 5f45f8a
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,13 @@ std::unique_ptr<JSRuntime> HermesInstance::createJSRuntime(
gcConfig.withAllocInYoung(false).withRevertToYGAtTTI(true);
}

int64_t vmExperimentFlags = reactNativeConfig
? reactNativeConfig->getInt64("ios_hermes:vm_experiment_flags")
: 0;

::hermes::vm::RuntimeConfig::Builder runtimeConfigBuilder =
::hermes::vm::RuntimeConfig::Builder()
.withGCConfig(gcConfig.build())
.withEnableSampleProfiling(true)
.withMicrotaskQueue(
ReactNativeFeatureFlags::enableBridgelessArchitecture() &&
!ReactNativeFeatureFlags::disableEventLoopOnBridgeless())
.withVMExperimentFlags(vmExperimentFlags);
!ReactNativeFeatureFlags::disableEventLoopOnBridgeless());

if (crashManager) {
runtimeConfigBuilder.withCrashMgr(crashManager);
Expand Down

0 comments on commit 5f45f8a

Please sign in to comment.