LongLibBase improperly stomps on global 'a' variable. This patch reuses globalTemp (_) instead.
Review at http://gwt-code-reviews.appspot.com/1389803
Review by: scottb@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9905 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/super/com/google/gwt/lang/LongLibBase.java b/dev/core/super/com/google/gwt/lang/LongLibBase.java
index 684669a..70f7ec0 100644
--- a/dev/core/super/com/google/gwt/lang/LongLibBase.java
+++ b/dev/core/super/com/google/gwt/lang/LongLibBase.java
@@ -321,8 +321,8 @@
}
private static native LongEmul create0(int l, int m, int h) /*-{
- return (a = @com.google.gwt.lang.LongLibBase$LongEmul::getInstance()(),
- a.l = l, a.m = m, a.h = h, a);
+ return (_ = @com.google.gwt.lang.LongLibBase$LongEmul::getInstance()(),
+ _.l = l, _.m = m, _.h = h, _);
}-*/;
private static LongEmul divModByMinValue(LongEmul a, boolean computeRemainder) {