Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index b55a7b72631046bdf442cbcf36374b34acea2f80..bfe4d8e45496f766e4d8064ecd6d2e544201770f 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -300,12 +300,16 @@ class Operand BASE_EMBEDDED { |
ScaleFactor scale, |
int32_t disp); |
+ // Offset from existing memory operand. |
+ // Offset is added to existing displacement as 32-bit signed values - so |
+ // don't overflow. |
William Hesse
2010/05/26 08:13:24
Add assert for no overflow in .cc file - see comme
Lasse Reichstein
2010/05/26 08:34:11
Done.
|
+ Operand(const Operand& base, int32_t offset); |
+ |
private: |
byte rex_; |
byte buf_[10]; |
// The number of bytes in buf_. |
unsigned int len_; |
- RelocInfo::Mode rmode_; |
// Set the ModR/M byte without an encoded 'reg' register. The |
// register is encoded later as part of the emit_operand operation. |