Skip to content

Commit 56a1065

Browse files
Arushi Aggarwalfacebook-github-bot
authored andcommitted
Delete unused function
Summary: D62468288 removed all calls to this function. Remove it so we have one less lowptr callsite Reviewed By: phil-lopreiato Differential Revision: D77409776 fbshipit-source-id: 5d4c2e7065d48679e88d811371ec0cd9ca856ffd
1 parent d7a8925 commit 56a1065

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hphp/runtime/vm/hackc-translator.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,15 +1403,6 @@ void translateModuleUse(TranslationState& ts, const Optional<ModuleName>& name)
14031403
ts.ue->m_moduleName = toStaticString(name.value()._0);
14041404
}
14051405

1406-
void translateRuleName(VMCompactVector<LowStringPtr>& names, StringId name) {
1407-
std::string name_ = toString(name);
1408-
std::vector<std::string> str_names;
1409-
folly::split('.', name_, str_names);
1410-
1411-
for (auto& s : str_names) {
1412-
names.push_back(makeStaticString(s));
1413-
}
1414-
}
14151406

14161407
void translateModule(TranslationState& ts, const hhbc::Module& m) {
14171408
UserAttributeMap userAttrs;

0 commit comments

Comments
 (0)