annotate graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugDumpScope.java @ 5061:e808627bd16f

Renamed projects.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 08 Mar 2012 19:24:17 +0100
parents graal/com.oracle.max.graal.debug/src/com/oracle/graal/debug/DebugDumpScope.java@4ed4295ce15f
children 50598118cd0a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4477
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
1 /*
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
4 *
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
7 * published by the Free Software Foundation.
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
8 *
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
13 * accompanied this code).
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
14 *
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
18 *
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
21 * questions.
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
22 */
5060
4ed4295ce15f Update import statements.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 5059
diff changeset
23 package com.oracle.graal.debug;
4477
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
24
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
25 public final class DebugDumpScope {
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
26
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
27 private final String name;
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
28
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
29 public DebugDumpScope(String name) {
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
30 this.name = name;
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
31 }
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
32
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
33 public String getName() {
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
34 return name;
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
35 }
4653
ac9ab44b75fd Disable propagate types phase. Fix intrinsification of an invoke with a deoptimize node.
Andreas Woess <andreas.woess@jku.at>
parents: 4477
diff changeset
36
ac9ab44b75fd Disable propagate types phase. Fix intrinsification of an invoke with a deoptimize node.
Andreas Woess <andreas.woess@jku.at>
parents: 4477
diff changeset
37 @Override
ac9ab44b75fd Disable propagate types phase. Fix intrinsification of an invoke with a deoptimize node.
Andreas Woess <andreas.woess@jku.at>
parents: 4477
diff changeset
38 public String toString() {
ac9ab44b75fd Disable propagate types phase. Fix intrinsification of an invoke with a deoptimize node.
Andreas Woess <andreas.woess@jku.at>
parents: 4477
diff changeset
39 return "DebugDumpScope[" + name + "]";
ac9ab44b75fd Disable propagate types phase. Fix intrinsification of an invoke with a deoptimize node.
Andreas Woess <andreas.woess@jku.at>
parents: 4477
diff changeset
40 }
4477
27c5466afd55 Changes to debug framework.
Andreas Woess <andreas.woess@jku.at>
parents:
diff changeset
41 }