From 575f1f1b38c8cd33bed28104da4084ee74bbc52c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 16 Jun 2012 18:04:36 -0700 Subject: [PATCH] Use sel_registerName() instead of new Selector(). --- ObjectiveC/Replace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ObjectiveC/Replace.cpp b/ObjectiveC/Replace.cpp index 99de585..7f4e206 100644 --- a/ObjectiveC/Replace.cpp +++ b/ObjectiveC/Replace.cpp @@ -156,7 +156,7 @@ CYStatement *CYProtocol::Replace(CYContext &context) const { $T(NULL) } CYExpression *CYSelector::Replace(CYContext &context) { - return $N1($V("Selector"), name_->Replace(context)); + return $C1($V("sel_registerName"), name_->Replace(context)); } CYString *CYSelectorPart::Replace(CYContext &context) { -- 2.49.0