projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WinEH] Add codegen support for cleanuppad and cleanupret
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
GCStrategy.h
diff --git
a/include/llvm/CodeGen/GCStrategy.h
b/include/llvm/CodeGen/GCStrategy.h
index 0d062c89d7a3938bda144fd84aa0608c499f63fe..a1b8e895898fe5394ec38c7ee43582d677f239eb 100644
(file)
--- a/
include/llvm/CodeGen/GCStrategy.h
+++ b/
include/llvm/CodeGen/GCStrategy.h
@@
-51,20
+51,20
@@
#define LLVM_IR_GCSTRATEGY_H
#include "llvm/ADT/Optional.h"
#define LLVM_IR_GCSTRATEGY_H
#include "llvm/ADT/Optional.h"
-#include "llvm/IR/Value.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
+#include "llvm/IR/Value.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Registry.h"
#include <string>
namespace llvm {
namespace GC {
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Registry.h"
#include <string>
namespace llvm {
namespace GC {
-/// PointKind - The type of a collector-safe point.
+/// PointKind - Used to indicate whether the address of the call instruction
+/// or the address after the call instruction is listed in the stackmap. For
+/// most runtimes, PostCall safepoints are appropriate.
///
enum PointKind {
///
enum PointKind {
- Loop, ///< Instr is a loop (backwards branch).
- Return, ///< Instr is a return instruction.
PreCall, ///< Instr is a call instruction.
PostCall ///< Instr is the return address of a call.
};
PreCall, ///< Instr is a call instruction.
PostCall ///< Instr is the return address of a call.
};