equal
deleted
inserted
replaced
146 intptr_t* unused1, |
146 intptr_t* unused1, |
147 intptr_t* unused2)) |
147 intptr_t* unused2)) |
148 ZeroStack *stack = thread->zero_stack(); |
148 ZeroStack *stack = thread->zero_stack(); |
149 |
149 |
150 int required_words = |
150 int required_words = |
151 (align_size_up(sizeof(ffi_cif), wordSize) >> LogBytesPerWord) + |
151 (align_up(sizeof(ffi_cif), wordSize) >> LogBytesPerWord) + |
152 (method->is_static() ? 2 : 1) + method->size_of_parameters() + 1; |
152 (method->is_static() ? 2 : 1) + method->size_of_parameters() + 1; |
153 |
153 |
154 stack->overflow_check(required_words, CHECK_NULL); |
154 stack->overflow_check(required_words, CHECK_NULL); |
155 |
155 |
156 intptr_t *buf = (intptr_t *) stack->alloc(required_words * wordSize); |
156 intptr_t *buf = (intptr_t *) stack->alloc(required_words * wordSize); |