Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 59f8ff6ca6580b5c79e25596e72118049b212963..5d213a3279949f54b5abda3ddf1a3f6633b57d77 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -5,7 +5,6 @@ |
#ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
#define V8_X64_MACRO_ASSEMBLER_X64_H_ |
-#include "src/assembler.h" |
#include "src/bailout-reason.h" |
#include "src/base/flags.h" |
#include "src/frames.h" |
@@ -93,6 +92,8 @@ class MacroAssembler: public Assembler { |
MacroAssembler(Isolate* isolate, void* buffer, int size, |
CodeObjectRequired create_code_object); |
+ int jit_cookie() const { return jit_cookie_; } |
+ |
// Prevent the use of the RootArray during the lifetime of this |
// scope object. |
class NoRootArrayScope BASE_EMBEDDED { |
@@ -110,6 +111,8 @@ class MacroAssembler: public Assembler { |
bool old_value_; |
}; |
+ Isolate* isolate() const { return isolate_; } |
+ |
// Operand pointing to an external reference. |
// May emit code to set up the scratch register. The operand is |
// only guaranteed to be correct as long as the scratch register |
@@ -1531,7 +1534,9 @@ class MacroAssembler: public Assembler { |
bool generating_stub_; |
bool has_frame_; |
+ Isolate* isolate_; |
bool root_array_available_; |
+ int jit_cookie_; |
// Returns a register holding the smi value. The register MUST NOT be |
// modified. It may be the "smi 1 constant" register. |