summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2008-07-31 20:55:27 +0000
committerRich Hickey <richhickey@gmail.com>2008-07-31 20:55:27 +0000
commit924c78191c36ccdc070be40991487f3d0fe98ad7 (patch)
tree63028859392c69728e82c07dd7b0fc100ca4262f /src
parent37d9b6c83b14a95a53f28ea7c63982aa716d9450 (diff)
re-removed checkcast before invokeInterface
Diffstat (limited to 'src')
-rw-r--r--src/jvm/clojure/lang/Compiler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jvm/clojure/lang/Compiler.java b/src/jvm/clojure/lang/Compiler.java
index 0554fdca..e7829aab 100644
--- a/src/jvm/clojure/lang/Compiler.java
+++ b/src/jvm/clojure/lang/Compiler.java
@@ -1124,8 +1124,8 @@ static class InstanceMethodExpr extends MethodExpr{
{
Type type = Type.getType(method.getDeclaringClass());
target.emit(C.EXPRESSION, fn, gen);
-// if(!method.getDeclaringClass().isInterface())
- gen.checkCast(type);
+ if(!method.getDeclaringClass().isInterface())
+ gen.checkCast(type);
MethodExpr.emitTypedArgs(fn, gen, method.getParameterTypes(), args);
if(context == C.RETURN)
{