hotspot/src/share/vm/interpreter/bytecode.cpp
changeset 43458 61ab1daf0fc8
parent 31019 d05fcdd70109
child 46727 6e4a84748e2c
--- a/hotspot/src/share/vm/interpreter/bytecode.cpp	Wed Jan 18 08:30:02 2017 +0000
+++ b/hotspot/src/share/vm/interpreter/bytecode.cpp	Wed Jan 18 10:30:56 2017 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -112,7 +112,7 @@
 // Implementation of Bytecode_tableupswitch
 
 int Bytecode_tableswitch::dest_offset_at(int i) const {
-  return get_Java_u4_at(aligned_offset(1 + (3 + i)*jintSize));
+  return get_aligned_Java_u4_at(1 + (3 + i)*jintSize);
 }