Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 60e38a6c131a47824908576258980d224f4427e9..c31b0c24bef9e63fc15793c278349549ca4510dd 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2566,7 +2566,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. |