Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/WriteLocalNode.java @ 8254:ac2204c05a02
UseSpecializations is now turned off for the generic specialization in WriteLocalNode.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 13 Mar 2013 20:00:16 +0100 |
parents | 5b08b0f4d338 |
children | b81f42160093 |
comparison
equal
deleted
inserted
replaced
8253:4c0d72c98797 | 8254:ac2204c05a02 |
---|---|
62 public String write(VirtualFrame frame, String right) { | 62 public String write(VirtualFrame frame, String right) { |
63 frame.setObject(slot, right); | 63 frame.setObject(slot, right); |
64 return right; | 64 return right; |
65 } | 65 } |
66 | 66 |
67 @Generic | 67 @Generic(useSpecializations = false) |
68 public Object write(VirtualFrame frame, Object right) { | 68 public Object write(VirtualFrame frame, Object right) { |
69 frame.setObject(slot, right); | 69 frame.setObject(slot, right); |
70 return right; | 70 return right; |
71 } | 71 } |
72 | 72 |