Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F2729749
cfgpass.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Mar 13, 10:53 AM
Size
537 B
Mime Type
text/x-c++
Expires
Sun, Mar 15, 10:53 AM (1 d, 16 h)
Engine
blob
Format
Raw Data
Handle
243149
Attached To
rXR Xreate
cfgpass.h
View Options
// Control Flow Graph determination pass
#ifndef CFGPASS_H
#define CFGPASS_H
#include "ast.h"
#include <set>
#include <iostream>
#include "clasplayer.h"
namespace xreate {
class CFGPass
{
public:
void run();
CFGPass(ClaspLayer* claspLayer);
private:
struct Context {
FID id;
const CodeScope* scope;
};
CFGraph __graph;
ClaspLayer* clasp;
void process(const Expression& entity, const Context& context);
void process(const CodeScope* scope, Context context);
}; }
#endif // CFGPASS_H
Event Timeline
Log In to Comment