summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/inst.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/inst.h')
-rw-r--r--Build/source/utils/asymptote/inst.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/inst.h b/Build/source/utils/asymptote/inst.h
index c4f7efb8f86..391f3c99461 100644
--- a/Build/source/utils/asymptote/inst.h
+++ b/Build/source/utils/asymptote/inst.h
@@ -21,8 +21,15 @@ namespace vm {
struct inst; class stack; class program;
// A function "lambda," that is, the code that runs a function.
-// It also need the closure of the enclosing module or function to run.
+// It also needs the closure of the enclosing module or function to run.
struct lambda : public gc {
+#ifdef DEBUG_FRAME
+ lambda()
+ : name("<unnamed>") {}
+ virtual ~lambda() {}
+ string name;
+#endif
+
// The instructions to follow.
program *code;