inline some methods, speedup

This commit is contained in:
Dima Granetchi
2014-12-08 21:29:01 +02:00
parent a7968c65af
commit e571f8e364
4 changed files with 31 additions and 20 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class BindExt {
#if macro
static function internalBindChain(expr:Expr, listener:Expr):Expr {
static inline function internalBindChain(expr:Expr, listener:Expr):Expr {
var zeroListener = listenerName(0, "");
var chain = null;
try { chain = warnPrepareChain(expr, macro $i{ zeroListener }); } catch (e:GenericError) e.contextError();