[gwt-contrib] Change in gwt[master]: Check for castableTypeMap twice to work around iOS 6 JIT issue

2013-05-17 Thread Leif Åstrand

Leif Åstrand has uploaded a new change for review.

  https://gwt-review.googlesource.com/2800


Change subject: Check for castableTypeMap twice to work around iOS 6 JIT  
issue

..

Check for castableTypeMap twice to work around iOS 6 JIT issue

Fixes https://code.google.com/p/google-web-toolkit/issues/detail?id=8098

Change-Id: I87fd663c2b0dcc8c2d859a4701cd61373c0fcaf7
---
M  
dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java

1 file changed, 2 insertions(+), 2 deletions(-)



diff --git  
a/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java  
b/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java

index 286bb3e..4f587e0 100644
---  
a/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java
+++  
b/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java

@@ -26,7 +26,7 @@
 final class Cast {

   static native boolean canCast(Object src, int dstId) /*-{
-return s...@java.lang.Object::castableTypeMap  
 !!s...@java.lang.Object::castableTypeMap[dstId];
+return (s...@java.lang.Object::castableTypeMap | 
| s...@java.lang.Object::castableTypeMap)  
 !!s...@java.lang.Object::castableTypeMap[dstId];

   }-*/;

   /**
@@ -34,7 +34,7 @@
* context.
*/
   static native boolean canCastUnsafe(Object src, int dstId) /*-{
-return s...@java.lang.Object::castableTypeMap   
s...@java.lang.Object::castableTypeMap[dstId];
+return (s...@java.lang.Object::castableTypeMap ||  
s...@java.lang.Object::castableTypeMap)   
s...@java.lang.Object::castableTypeMap[dstId];

   }-*/;

   static native String charToString(char x) /*-{

--
To view, visit https://gwt-review.googlesource.com/2800
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87fd663c2b0dcc8c2d859a4701cd61373c0fcaf7
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Leif Åstrand l...@vaadin.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Check for castableTypeMap twice to work around iOS 6 JIT issue

2013-05-17 Thread Leif Åstrand

Leif Åstrand has uploaded a new patch set (#2).

Change subject: Check for castableTypeMap twice to work around iOS 6 JIT  
issue

..

Check for castableTypeMap twice to work around iOS 6 JIT issue

Fixes https://code.google.com/p/google-web-toolkit/issues/detail?id=8098

Change-Id: I87fd663c2b0dcc8c2d859a4701cd61373c0fcaf7
---
M  
dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java

1 file changed, 8 insertions(+), 2 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2800
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I87fd663c2b0dcc8c2d859a4701cd61373c0fcaf7
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Leif Åstrand l...@vaadin.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.