Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F4819805
latecontext.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
Mon, Aug 24, 4:44 AM
Size
858 B
Mime Type
text/x-c++
Expires
Wed, Aug 26, 4:44 AM (21 h, 3 m)
Engine
blob
Format
Raw Data
Handle
286688
Attached To
rXR Xreate
latecontext.h
View Options
/*
* LateContext.h
*
* Created on: Jan 8, 2016
* Author: pgess
*/
#ifndef SRC_COMPILATION_LATECONTEXT_H_
#define SRC_COMPILATION_LATECONTEXT_H_
#include "ast.h"
#include "expressionserializer.h"
namespace llvm {
class Value;
}
namespace xreate {
typedef unsigned int ScopePacked;
class CompilePass;
class ContextDomain;
class LateContext{
public:
LateContext(const std::string& function, CompilePass* compilePass);
~LateContext();
llvm::Value* compileCheckContext(const Expression& e);
llvm::Value* compileArgument(const std::string& callee, ScopePacked scopeOuter);
llvm::Value* findFunction(const std::string name, ScopePacked scopeOuter, llvm::Function* functionOuter);
const ContextDomain* const domain;
llvm::Value* raw;
private:
CompilePass* pass;
};
} /* namespace xreate */
#endif /* SRC_COMPILATION_LATECONTEXT_H_ */
Event Timeline
Log In to Comment