mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-29 20:24:58 +01:00
Unify Action and Scope stacks, and eliminate Frame (#880)
Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
Jon Meow
parent
44154c8663
commit
3bec7f8dc0
@@ -35,6 +35,8 @@ void Action::Print(llvm::raw_ostream& out) const {
|
||||
case Action::Kind::StatementAction:
|
||||
cast<StatementAction>(*this).statement().PrintDepth(1, out);
|
||||
break;
|
||||
case Action::Kind::ScopeAction:
|
||||
out << "ScopeAction";
|
||||
}
|
||||
out << "<" << pos_ << ">";
|
||||
if (results_.size() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user