Mercurial > hg > graal-compiler
diff jvmci/jdk.internal.jvmci.code/src/jdk/internal/jvmci/code/DebugInfo.java @ 22234:b34312ac04a8
Make static type of virtualObjectMapping as narrow as possible.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 15 Jul 2015 15:46:53 +0200 |
parents | 0e095e2c24e2 |
children | 9c811a5e6a62 |
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.code/src/jdk/internal/jvmci/code/DebugInfo.java Wed Jul 15 15:01:41 2015 +0200 +++ b/jvmci/jdk.internal.jvmci.code/src/jdk/internal/jvmci/code/DebugInfo.java Wed Jul 15 15:46:53 2015 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2015, 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 @@ -24,8 +24,6 @@ import java.util.*; -import jdk.internal.jvmci.meta.*; - /** * Represents the debugging information for a particular point of execution. This information * includes: @@ -42,7 +40,7 @@ private final BytecodePosition bytecodePosition; private final ReferenceMap referenceMap; - @SuppressWarnings("unused") private final Value[] virtualObjectMapping; + @SuppressWarnings("unused") private final VirtualObject[] virtualObjectMapping; private RegisterSaveLayout calleeSaveInfo; /** @@ -53,7 +51,7 @@ * @param referenceMap the reference map * @param virtualObjectMapping the mapping of {@link VirtualObject}s to their real values */ - public DebugInfo(BytecodePosition codePos, ReferenceMap referenceMap, Value[] virtualObjectMapping) { + public DebugInfo(BytecodePosition codePos, ReferenceMap referenceMap, VirtualObject[] virtualObjectMapping) { this.bytecodePosition = codePos; this.referenceMap = referenceMap; this.virtualObjectMapping = virtualObjectMapping;