comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameDescriptor.java @ 21966:5023b913e2ba

Help the partial evaluator / language developer by marking API methods as neverPartOfCompilation() when they are too complicated to be compiled.
author Christian Wimmer <christian.wimmer@oracle.com>
date Mon, 22 Jun 2015 10:16:27 -0700
parents 9c8c0937da41
children dc83cc1f94f2
comparison
equal deleted inserted replaced
21965:0103d237f6c3 21966:5023b913e2ba
43 public FrameDescriptor() { 43 public FrameDescriptor() {
44 this(null); 44 this(null);
45 } 45 }
46 46
47 public FrameDescriptor(Object defaultValue) { 47 public FrameDescriptor(Object defaultValue) {
48 CompilerAsserts.neverPartOfCompilation();
48 this.defaultValue = defaultValue; 49 this.defaultValue = defaultValue;
49 slots = new ArrayList<>(); 50 slots = new ArrayList<>();
50 identifierToSlotMap = new HashMap<>(); 51 identifierToSlotMap = new HashMap<>();
51 version = createVersion(); 52 version = createVersion();
52 } 53 }