src/hotspot/cpu/arm/frame_arm.cpp
changeset 51263 b5aac518b097
parent 47216 71c04702a3d5
child 52351 0ecb4e520110
--- a/src/hotspot/cpu/arm/frame_arm.cpp	Mon Jul 30 14:08:30 2018 -0400
+++ b/src/hotspot/cpu/arm/frame_arm.cpp	Mon Jul 30 16:35:54 2018 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2018, 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
@@ -500,7 +500,7 @@
   Method* m = *interpreter_frame_method_addr();
 
   // validate the method we'd find in this potential sender
-  if (!m->is_valid_method()) return false;
+  if (!Method::is_valid_method(m)) return false;
 
   // stack frames shouldn't be much larger than max_stack elements