source: src/ResolvExpr/ExplodedActual.cc @ 59cf83b

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 59cf83b was 62194cb, checked in by Aaron Moss <a3moss@…>, 6 years ago

Reduce duplication of cost/env in ExplodedActual?

  • Property mode set to 100644
File size: 714 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// Alternative.h --
8//
9// Author           : Aaron B. Moss
10// Created On       : Tue Nov 22 17:06:00 2017
11// Last Modified By : Aaron B. Moss
12// Last Modified On : Tue Nov 22 17:06:00 2017
13// Update Count     : 1
14//
15
16#include "ExplodedActual.h"
17
18#include "Tuples/Explode.h"   // for Tuples::explode
19
20namespace ResolvExpr {
21        ExplodedActual::ExplodedActual( const Alternative& actual, const SymTab::Indexer& indexer ) 
22                        : env(actual.env), cost(actual.cost), exprs() {
23                Tuples::explode( actual, indexer, *this );
24        }
25}
Note: See TracBrowser for help on using the repository browser.