< prev index next >

src/cpu/zero/vm/interpreterRT_zero.cpp

Print this page

        

@@ -146,11 +146,11 @@
                                                      intptr_t*   unused1,
                                                      intptr_t*   unused2))
   ZeroStack *stack = thread->zero_stack();
 
   int required_words =
-    (align_size_up(sizeof(ffi_cif), wordSize) >> LogBytesPerWord) +
+    (align_up(sizeof(ffi_cif), wordSize) >> LogBytesPerWord) +
     (method->is_static() ? 2 : 1) + method->size_of_parameters() + 1;
 
   stack->overflow_check(required_words, CHECK_NULL);
 
   intptr_t *buf = (intptr_t *) stack->alloc(required_words * wordSize);
< prev index next >