< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/stubs/ExceptionHandlerStub.java
Print this page
rev 56282 : [mq]: graal
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2019, Oracle and/or its affiliates. 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -69,20 +69,10 @@
public ExceptionHandlerStub(OptionValues options, HotSpotProviders providers, HotSpotForeignCallLinkage linkage) {
super("exceptionHandler", options, providers, linkage);
}
- /**
- * This stub is called when returning to a method to handle an exception thrown by a callee. It
- * is not used for routing implicit exceptions. Therefore, it does not need to save any
- * registers as HotSpot uses a caller save convention.
- */
- @Override
- public boolean preservesRegisters() {
- return false;
- }
-
@Override
protected Object getConstantParameterValue(int index, String name) {
if (index == 2) {
return providers.getRegisters().getThreadRegister();
}
< prev index next >