summaryrefslogtreecommitdiff
path: root/src/declare.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-12-14 14:08:05 -0500
committerAdrian Thurston <thurston@complang.org>2014-12-14 14:08:05 -0500
commitb31d25f21e6105ed52fc7859016acf6c29abca33 (patch)
tree03ab0174518dd404055b60c5fd99f2026445083a /src/declare.cc
parent3b465e52de66119238b1eafab8d739d66d72247f (diff)
downloadcolm-b31d25f21e6105ed52fc7859016acf6c29abca33.tar.gz
object field: replaced isCustom flag with InbuiltObject type
Diffstat (limited to 'src/declare.cc')
-rw-r--r--src/declare.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/declare.cc b/src/declare.cc
index df223ca8..2bc2665e 100644
--- a/src/declare.cc
+++ b/src/declare.cc
@@ -701,9 +701,8 @@ void Compiler::addInput( ObjectDef *frame )
/* Create the field and insert it into the map. */
ObjectField *el = ObjectField::cons( internal,
- ObjectField::InbuiltFieldType, typeRef, "input" );
+ ObjectField::InbuiltObjectType, typeRef, "input" );
el->isConst = false;
- el->isCustom = true;
el->inGetR = IN_LOAD_INPUT_R;
el->inGetWV = IN_LOAD_INPUT_WV;
el->inGetWC = IN_LOAD_INPUT_WC;
@@ -717,9 +716,8 @@ void Compiler::addCtx( ObjectDef *frame )
/* Create the field and insert it into the map. */
ObjectField *el = ObjectField::cons( internal,
- ObjectField::InbuiltFieldType, typeRef, "ctx" );
+ ObjectField::InbuiltObjectType, typeRef, "ctx" );
el->isConst = false;
- el->isCustom = true;
el->inGetR = IN_LOAD_CTX_R;
el->inGetWV = IN_LOAD_CTX_WV;
el->inGetWC = IN_LOAD_CTX_WC;