X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/436a877be73ebe14fecd3ef0e9b7dd6b854d2e3b..0846ea04c5e644dba19e4f2555e4518540ec4e01:/Replace.cpp diff --git a/Replace.cpp b/Replace.cpp index de9489e..29a78a0 100644 --- a/Replace.cpp +++ b/Replace.cpp @@ -182,6 +182,7 @@ CYTarget *CYClassExpression::Replace(CYContext &context) { if (tail_->constructor_ == NULL) tail_->constructor_ = $ CYFunctionExpression(NULL, NULL, NULL); + tail_->constructor_->name_ = name_; tail_->constructor_ = CYSuperize(context, tail_->constructor_); context.super_ = old; @@ -1244,6 +1245,10 @@ CYTarget *CYTypeExpression::Replace(CYContext &context) { return typed_->Replace(context); } +CYTarget *CYTypeInt128::Replace(CYContext &context) { + return $V(signing_ == CYTypeUnsigned ? "uint128" : "int128"); +} + CYTarget *CYTypeIntegral::Replace(CYContext &context) { bool u(signing_ == CYTypeUnsigned); switch (length_) {