--- a/src/hotspot/cpu/x86/frame_x86.cpp Mon Nov 06 20:29:49 2017 -0800
+++ b/src/hotspot/cpu/x86/frame_x86.cpp Mon Nov 06 21:28:03 2017 -0800
@@ -436,11 +436,11 @@
// This is the sp before any possible extension (adapter/locals).
intptr_t* unextended_sp = interpreter_frame_sender_sp();
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
if (map->update_map()) {
update_map_with_saved_link(map, (intptr_t**) addr_at(link_offset));
}
-#endif // COMPILER2 || INCLUDE_JVMCI
+#endif // COMPILER2_OR_JVMCI
return frame(sender_sp, unextended_sp, link(), sender_pc());
}