src/share/vm/adlc/archDesc.cpp

Print this page
rev 2647 : 7077312: Provide a CALL effect for instruct declaration in the ad file
Summary: abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers)
Reviewed-by:

@@ -1016,10 +1016,13 @@
     eForm = new Effect(ident);
     _globalNames.Insert(ident, eForm);
     ident = "TEMP";
     eForm = new Effect(ident);
     _globalNames.Insert(ident, eForm);
+    ident = "CALL";
+    eForm = new Effect(ident);
+    _globalNames.Insert(ident, eForm);
   }
 
   //
   // Build mapping from ideal names to ideal indices
   int idealIndex = 0;