comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/typesystem/GuardData.java @ 8245:703c09f8640c

Implemented support for @NodeClass annotation to support builtins.
author Christian Humer <christian.humer@gmail.com>
date Wed, 06 Mar 2013 18:32:33 +0100
parents 5e3d1a68664e
children 8a1115c92271
comparison
equal deleted inserted replaced
8244:10d37f893471 8245:703c09f8640c
24 24
25 import com.oracle.truffle.codegen.processor.template.*; 25 import com.oracle.truffle.codegen.processor.template.*;
26 26
27 public class GuardData extends TemplateMethod { 27 public class GuardData extends TemplateMethod {
28 28
29 private final Template origin; 29 public GuardData(TemplateMethod method) {
30
31 public GuardData(TemplateMethod method, Template origin) {
32 super(method); 30 super(method);
33 this.origin = origin;
34 }
35
36 public Template getOrigin() {
37 return origin;
38 } 31 }
39 32
40 } 33 }