Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 42c9961b3e41a355cd08b4ab0130c853a9631c75..4da2fece03bf4dce029d5e4a4c836e16cffdfd95 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -3738,7 +3738,7 @@ CodePatcher::CodePatcher(byte* address, int instructions) |
: address_(address), |
instructions_(instructions), |
size_(instructions * Assembler::kInstrSize), |
- 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. |