* configure.ac: Define ENABLE_ESCAPE if ENABLE_SSA is defined.
[cacao.git] / src / vmcore / method.h
index 189616174f14c1f5ae132fffeacaec4ded34193b..ff28286f477164a7b09e64f1c485a882b5ef8c6f 100644 (file)
@@ -107,8 +107,11 @@ struct methodinfo {                 /* method structure                       */
 #if defined(ENABLE_DEBUG_FILTER)
        u1            filtermatches;    /* flags indicating which filters the method matches */
 #endif
-};
 
+#if defined(ENABLE_ESCAPE)
+       u1           *paramescape;
+#endif
+};
 
 /* method_assumption ***********************************************************
 
@@ -159,6 +162,14 @@ struct lineinfo {
 extern methodinfo *method_java_lang_reflect_Method_invoke;
 
 
+/* inline functions ***********************************************************/
+
+inline static bool method_is_builtin(methodinfo* m)
+{
+       return m->flags & ACC_METHOD_BUILTIN;
+}
+
+
 /* function prototypes ********************************************************/
 
 void method_init(void);