Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 53becf6c3c660f7130f9ed6cc2f4f1a903df94b8..3d380a26440fbbaa308da7baaeefd5096efff738 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4188,7 +4188,7 @@ bool AreAliased(Register r1, Register r2, Register r3, Register r4) { |
CodePatcher::CodePatcher(byte* address, int size) |
: address_(address), |
size_(size), |
- masm_(Isolate::Current(), address, size + Assembler::kGap) { |
+ masm_(NULL, address, size + Assembler::kGap) { |
// Create a new macro assembler pointing to the address of the code to patch. |
// The size is adjusted with kGap on order for the assembler to generate size |
// bytes of instructions without failing with buffer size constraints. |