diff src/share/vm/classfile/stackMapFrame.cpp @ 20246:b2daaf70fab2

8046233: VerifyError on backward branch Summary: Remove check that causes the VerifyError Reviewed-by: dholmes, coleenp, acorn
author hseigel
date Tue, 05 Aug 2014 09:11:35 -0400
parents 4ee06e614636
children 8cb56c8cb30d
line wrap: on
line diff
--- a/src/share/vm/classfile/stackMapFrame.cpp	Tue Jul 29 13:40:58 2014 -0700
+++ b/src/share/vm/classfile/stackMapFrame.cpp	Tue Aug 05 09:11:35 2014 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2014, 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
@@ -54,21 +54,6 @@
   return frame;
 }
 
-bool StackMapFrame::has_new_object() const {
-  int32_t i;
-  for (i = 0; i < _max_locals; i++) {
-    if (_locals[i].is_uninitialized()) {
-      return true;
-    }
-  }
-  for (i = 0; i < _stack_size; i++) {
-    if (_stack[i].is_uninitialized()) {
-      return true;
-    }
-  }
-  return false;
-}
-
 void StackMapFrame::initialize_object(
     VerificationType old_object, VerificationType new_object) {
   int32_t i;