File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -952,11 +952,7 @@ class Slot: public Expression {
952952 // variable name in the context object on the heap,
953953 // with lookup starting at the current context. index()
954954 // is invalid.
955- LOOKUP,
956-
957- // A property in the global object. var()->name() is
958- // the property name.
959- GLOBAL
955+ LOOKUP
960956 };
961957
962958 Slot (Variable* var, Type type, int index)
Original file line number Diff line number Diff line change @@ -1339,9 +1339,6 @@ void JsonAstBuilder::VisitSlot(Slot* expr) {
13391339 case Slot::LOOKUP:
13401340 AddAttribute (" type" , " LOOKUP" );
13411341 break ;
1342- case Slot::GLOBAL:
1343- AddAttribute (" type" , " GLOBAL" );
1344- break ;
13451342 }
13461343 AddAttribute (" index" , expr->index ());
13471344 }
Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ ScopeInfo<Allocator>::ScopeInfo(Scope* scope)
100100 break ;
101101
102102 case Slot::LOOKUP:
103- case Slot::GLOBAL:
104- // these are currently not used
103+ // This is currently not used.
105104 UNREACHABLE ();
106105 break ;
107106 }
You can’t perform that action at this time.
0 commit comments