aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/vm/runtime_x86_32.cpp
diff options
context:
space:
mode:
authortwisti <none@none>2010-05-25 02:38:48 -0700
committertwisti <none@none>2010-05-25 02:38:48 -0700
commit94e5af365ed631b2af43e3a8aa6ac68e7d55f501 (patch)
tree048308fc1678683f44b87df8fb5d735babfdaae6 /src/cpu/x86/vm/runtime_x86_32.cpp
parent7f243f20c2d13636eb57abbd208ba328254921a7 (diff)
6934104: JSR 292 needs to support SPARC C2
Summary: C2 for SPARC needs to support JSR 292. Reviewed-by: kvn, never
Diffstat (limited to 'src/cpu/x86/vm/runtime_x86_32.cpp')
-rw-r--r--src/cpu/x86/vm/runtime_x86_32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/vm/runtime_x86_32.cpp b/src/cpu/x86/vm/runtime_x86_32.cpp
index 3c220d7f6..057e0aa53 100644
--- a/src/cpu/x86/vm/runtime_x86_32.cpp
+++ b/src/cpu/x86/vm/runtime_x86_32.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 1998-2010 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -117,7 +117,7 @@ void OptoRuntime::generate_exception_blob() {
// Restore SP from BP if the exception PC is a MethodHandle call site.
__ cmpl(Address(rcx, JavaThread::is_method_handle_return_offset()), 0);
- __ cmovptr(Assembler::notEqual, rsp, rbp);
+ __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save);
// We have a handler in rax, (could be deopt blob)
// rdx - throwing pc, deopt blob will need it.