changeset 13575:d0625b614897 mvt

Fix TraceBytecodes broken by vgetfield removal
author fparain
date Wed, 30 Aug 2017 14:50:03 -0400
parents a9010a9e2e11
children cf519e23a3f1
files src/share/vm/interpreter/templateInterpreter.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/interpreter/templateInterpreter.hpp	Wed Aug 30 13:25:02 2017 -0400
+++ b/src/share/vm/interpreter/templateInterpreter.hpp	Wed Aug 30 14:50:03 2017 -0400
@@ -155,7 +155,7 @@
 
   // Code generation
 #ifndef PRODUCT
-  static address    trace_code    (TosState state)              { return _trace_code.entry(state); }
+  static address    trace_code    (TosState state)              { return _trace_code.entry(state == ptos ? atos : state); }
 #endif // !PRODUCT
   static address*   dispatch_table(TosState state)              { return _active_table.table_for(state); }
   static address*   dispatch_table()                            { return _active_table.table_for(); }