Chromium Code Reviews| Index: src/IceGlobalContext.h |
| diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
| index 01724fb37dde02d908c9e512bba69653de868335..9dc59a3b4dc639683ded6172a458e2764b7966fc 100644 |
| --- a/src/IceGlobalContext.h |
| +++ b/src/IceGlobalContext.h |
| @@ -39,6 +39,7 @@ class ClFlags; |
| class ConstantPool; |
| class EmitterWorkItem; |
| class FuncSigType; |
| +class RelocOffset; |
| /// LockedPtr is a way to provide automatically locked access to some object. |
| template <typename T> class LockedPtr { |
| @@ -200,6 +201,8 @@ public: |
| Constant *getConstantFloat(float Value); |
| Constant *getConstantDouble(double Value); |
| /// Returns a symbolic constant. |
| + Constant *getConstantSym(std::vector<RelocOffset *> Offset, |
|
Jim Stichnoth
2016/02/02 17:13:44
My radar goes off when I see the lack of const ref
John
2016/02/02 19:36:39
Acknowledged.
|
| + const IceString &Name, bool SuppressMangling); |
| Constant *getConstantSym(RelocOffsetT Offset, const IceString &Name, |
| bool SuppressMangling); |
| Constant *getConstantExternSym(const IceString &Name); |