Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.ruby.nodes/src/com/oracle/truffle/ruby/nodes/CoreSourceSection.java @ 13568:f29a358cf3da
Ruby: minor tweaks to implementation nodes for debugging access
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Wed, 08 Jan 2014 14:00:21 -0800 |
parents | 0fbee3eb71f0 |
children |
comparison
equal
deleted
inserted
replaced
13567:2f67ba090923 | 13568:f29a358cf3da |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. This | 2 * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved. This |
3 * code is released under a tri EPL/GPL/LGPL license. You can use it, | 3 * code is released under a tri EPL/GPL/LGPL license. You can use it, |
4 * redistribute it and/or modify it under the terms of the: | 4 * redistribute it and/or modify it under the terms of the: |
5 * | 5 * |
6 * Eclipse Public License version 1.0 | 6 * Eclipse Public License version 1.0 |
7 * GNU General Public License version 2 | 7 * GNU General Public License version 2 |
10 package com.oracle.truffle.ruby.nodes; | 10 package com.oracle.truffle.ruby.nodes; |
11 | 11 |
12 import com.oracle.truffle.api.*; | 12 import com.oracle.truffle.api.*; |
13 | 13 |
14 /** | 14 /** |
15 * Singleton source section used for core method nodes. | 15 * Source sections used for core method nodes. |
16 */ | 16 */ |
17 public final class CoreSourceSection implements SourceSection { | 17 public final class CoreSourceSection implements NullSourceSection { |
18 | 18 |
19 private final String name; | 19 private final String name; |
20 | 20 |
21 public CoreSourceSection(String name) { | 21 public CoreSourceSection(String name) { |
22 this.name = name; | 22 this.name = name; |