Skip to content

Commit

Permalink
Remove redundant call to createBCProviderLazy
Browse files Browse the repository at this point in the history
Summary: Delete redundant call.

Reviewed By: tmikov

Differential Revision: D30335113

fbshipit-source-id: c4be9d5508d5d5fe18b209bba77463f45bc4b90f
  • Loading branch information
neildhar authored and facebook-github-bot committed Aug 16, 2021
1 parent 5f2b47d commit 63d08a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/VM/RuntimeModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ RuntimeModule *RuntimeModule::createLazyModule(

RM->bcProvider_ = hbc::BCProviderLazy::createBCProviderLazy(bcFunction);

RM->bcProvider_ = hbc::BCProviderLazy::createBCProviderLazy(bcFunction);

// We don't know which function index this block will eventually represent,
// so just add it as 0 to ensure ownership. We'll move it later in
// `initializeLazy`.
Expand Down

0 comments on commit 63d08a5

Please sign in to comment.