Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index d49a113721825f3706b04a133ccf7f2281235b65..12ad5c61dcc4d7b84a3ed12a3da0712483f19368 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1112,6 +1112,13 @@ class MacroAssembler: public Assembler { |
int min_length = 0, |
Register scratch = kScratchRegister); |
+ // Initialize fields with filler values. Fields starting at |start_offset| |
+ // not including end_offset are overwritten with the value in |filler|. At |
+ // the end the loop, |start_offset| takes the value of |end_offset|. |
+ void InitializeFieldsWithFiller(Register start_offset, |
+ Register end_offset, |
+ Register filler); |
+ |
// --------------------------------------------------------------------------- |
// StatsCounter support |