diff options
author | Adrian Thurston <thurston@complang.org> | 2014-12-14 14:08:05 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-12-14 14:08:05 -0500 |
commit | b31d25f21e6105ed52fc7859016acf6c29abca33 (patch) | |
tree | 03ab0174518dd404055b60c5fd99f2026445083a /src/declare.cc | |
parent | 3b465e52de66119238b1eafab8d739d66d72247f (diff) | |
download | colm-b31d25f21e6105ed52fc7859016acf6c29abca33.tar.gz |
object field: replaced isCustom flag with InbuiltObject type
Diffstat (limited to 'src/declare.cc')
-rw-r--r-- | src/declare.cc | 6 |
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; |