Skip to content

Commit

Permalink
Remove empty clobber
Browse files Browse the repository at this point in the history
The empty clobber fails to compile on gcc < 4.5.

Signed-off-by: Robert Lougher <rob@jamvm.org.uk>
  • Loading branch information
Robert Lougher committed Aug 8, 2011
1 parent 8b1010a commit 0501bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/linux/i386/dll_md.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ u4 *callJNIMethod(void *env, Class *class, char *sig, int ret_type,
u4 *sp;
u4 method_args[args + (class ? 2 : 1)];

asm volatile ("movl %%esp,%0" : "=m" (sp) ::);
asm volatile ("movl %%esp,%0" : "=m" (sp) :);

*sp++ = (u4)env;

Expand Down

0 comments on commit 0501bb8

Please sign in to comment.