@@ -0,0 +1,1876 @@
+/*%0A * Copyright (c) 2013, 2013, Oracle and/or its affiliates. All rights reserved.%0A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.%0A *%0A * This code is free software; you can redistribute it and/or modify it%0A * under the terms of the GNU General Public License version 2 only, as%0A * published by the Free Software Foundation.%0A *%0A * This code is distributed in the hope that it will be useful, but WITHOUT%0A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or%0A * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License%0A * version 2 for more details (a copy is included in the LICENSE file that%0A * accompanied this code).%0A *%0A * You should have received a copy of the GNU General Public License version%0A * 2 along with this work; if not, write to the Free Software Foundation,%0A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.%0A *%0A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA%0A * or visit www.oracle.com if you need additional information or have any%0A * questions.%0A */%0Apackage com.oracle.graal.api.meta;%0A%0A/**%0A * A %7B@link LocationIdentity%7D warpping an object.%0A */%0Apublic class ObjectLocationIdentity implements LocationIdentity %7B%0A%0A    private Object object;%0A%0A    public ObjectLocationIdentity(Object object) %7B%0A        this.object = object;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object other) %7B%0A        if (other == this) %7B%0A            return true;%0A        %7D else if (other instanceof ObjectLocationIdentity) %7B%0A            ObjectLocationIdentity objectLocationIdentity = (ObjectLocationIdentity) other;%0A            return objectLocationIdentity.object == object;%0A        %7D%0A        return false;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return object.hashCode();%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Identity(%22 + object + %22)%22;%0A    %7D%0A%7D%0A

Add object location identity class.