Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index 01c3a70c6542889975f5b4e15db8943106314696..e5661c9f12644e56a64a0c2d3cc178736bb401ce 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -230,6 +230,9 @@ class RelocInfo BASE_EMBEDDED { |
static inline bool IsCodeTarget(Mode mode) { |
return mode <= LAST_CODE_ENUM; |
} |
+ static inline bool IsEmbeddedObject(Mode mode) { |
+ return mode == EMBEDDED_OBJECT; |
+ } |
// Is the relocation mode affected by GC? |
static inline bool IsGCRelocMode(Mode mode) { |
return mode <= LAST_GCED_ENUM; |