diff options
Diffstat (limited to 'Build/source/utils/asymptote/record.cc')
-rw-r--r-- | Build/source/utils/asymptote/record.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/record.cc b/Build/source/utils/asymptote/record.cc index e07d4b2bcab..380490c1001 100644 --- a/Build/source/utils/asymptote/record.cc +++ b/Build/source/utils/asymptote/record.cc @@ -34,7 +34,7 @@ record *record::newRecord(symbol id, bool statically) { frame *underlevel = getLevel(statically); assert(underlevel); - + frame *level = new frame(id, underlevel, 0); record *r = new record(id, level); @@ -47,7 +47,7 @@ trans::access *record::initializer() { return &a; } -dummyRecord::dummyRecord(symbol name) +dummyRecord::dummyRecord(symbol name) : record(name, new frame(name, 0,0)) { // Encode the instructions to put an placeholder instance of the record @@ -68,7 +68,7 @@ dummyRecord::dummyRecord(string s) void dummyRecord::add(string name, ty *t, trans::access *a, trans::permission perm) { e.addVar(symbol::trans(name), - new trans::varEntry(t, a, perm, this, this, position())); + new trans::varEntry(t, a, perm, this, this, position())); } void dummyRecord::add(string name, function *t, vm::bltin f, |