[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Feb 3 22:36:33 PST 2005



Changes in directory llvm-java/lib/Compiler:

Compiler.cpp updated: 1.214 -> 1.215
---
Log message:

Make monitorenter and monitorexit pop the object reference off the
operand stack (they are still noops but we have a correct operand
stack now).


---
Diffs of the changes:  (+4 -2)

 Compiler.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.214 llvm-java/lib/Compiler/Compiler.cpp:1.215
--- llvm-java/lib/Compiler/Compiler.cpp:1.214	Thu Feb  3 16:37:32 2005
+++ llvm-java/lib/Compiler/Compiler.cpp	Fri Feb  4 00:36:22 2005
@@ -2357,11 +2357,13 @@
     }
 
     void do_monitorenter() {
-      // assert(0 && "not implemented");
+      // FIXME: This is currently a noop
+      pop(ObjectBaseRefTy);
     }
 
     void do_monitorexit() {
-      // assert(0 && "not implemented");
+      // FIXME: This is currently a noop
+      pop(ObjectBaseRefTy);
     }
 
     void do_multianewarray(unsigned index, unsigned dims) {






More information about the llvm-commits mailing list