projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git]
/
docs
/
GarbageCollection.rst
diff --git
a/docs/GarbageCollection.rst
b/docs/GarbageCollection.rst
index 5c3a1af23cd3d4520e2be867c28603ef2c5bd2e5..b72227792b693cf6b8660f9a1063030771f45c83 100644
(file)
--- a/
docs/GarbageCollection.rst
+++ b/
docs/GarbageCollection.rst
@@
-764,8
+764,8
@@
The following can be used as a template:
.. code-block:: c++
.. code-block:: c++
- #include "llvm/Module.h"
- #include "llvm/IntrinsicInst.h"
+ #include "llvm/
IR/
Module.h"
+ #include "llvm/I
R/I
ntrinsicInst.h"
bool MyGC::initializeCustomLowering(Module &M) {
return false;
bool MyGC::initializeCustomLowering(Module &M) {
return false;
@@
-915,10
+915,10
@@
map for the entire module, and may access the ``GCFunctionInfo`` using its own
.. code-block:: c++
#include "llvm/CodeGen/AsmPrinter.h"
.. code-block:: c++
#include "llvm/CodeGen/AsmPrinter.h"
- #include "llvm/Function.h"
- #include "llvm/Target/TargetMachine.h"
- #include "llvm/DataLayout.h"
+ #include "llvm/IR/Function.h"
+ #include "llvm/IR/DataLayout.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetAsmInfo.h"
+ #include "llvm/Target/TargetMachine.h"
void MyGCPrinter::beginAssembly(std::ostream &OS, AsmPrinter &AP,
const TargetAsmInfo &TAI) {
void MyGCPrinter::beginAssembly(std::ostream &OS, AsmPrinter &AP,
const TargetAsmInfo &TAI) {