src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp
changeset 49027 8dc742d9bbab
parent 47916 bdbef8638948
child 49368 2ed1c37df3a5
equal deleted inserted replaced
49026:844bf1deff1a 49027:8dc742d9bbab
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  1146   {
  1146   {
  1147     Label Continue;
  1147     Label Continue;
  1148     Label slow_path;
  1148     Label slow_path;
  1149 
  1149 
  1150 #ifndef _LP64
  1150 #ifndef _LP64
  1151     __ safepoint_poll(slow_path);
  1151     __ safepoint_poll(slow_path, thread, noreg);
  1152 #else
  1152 #else
  1153     __ safepoint_poll(slow_path, r15_thread, rscratch1);
  1153     __ safepoint_poll(slow_path, r15_thread, rscratch1);
  1154 #endif
  1154 #endif
  1155 
  1155 
  1156     __ cmpl(Address(thread, JavaThread::suspend_flags_offset()), 0);
  1156     __ cmpl(Address(thread, JavaThread::suspend_flags_offset()), 0);