auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2ger

This commit is contained in:
bors-servo 2015-01-08 13:12:55 -07:00
commit 7800d98728
25 changed files with 64 additions and 64 deletions

View file

@ -4014,7 +4014,7 @@ let global = global_object_for_js_object(JS_CALLEE(cx, vp).to_object());
let global = global.root();
""")
nativeName = MakeNativeName(self._ctor.identifier.name)
callGenerator = CGMethodCall(["&global.r()"], nativeName, True,
callGenerator = CGMethodCall(["global.r()"], nativeName, True,
self.descriptor, self._ctor)
return CGList([preamble, callGenerator])