Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 116816c8727db889a0559ccf18db632aed8d8168..3f3a66890f2cd4ae9ee93dc3e20fc148f63d6b54 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -40,6 +40,7 @@ |
#include <deque> |
#include "src/assembler.h" |
+#include "src/compiler.h" |
#include "src/serialize.h" |
namespace v8 { |
@@ -1341,7 +1342,7 @@ class Assembler : public AssemblerBase { |
// Record a deoptimization reason that can be used by a log or cpu profiler. |
// Use --trace-deopt to enable. |
- void RecordDeoptReason(const int reason, const int raw_position); |
+ void RecordDeoptReason(const int reason, const SourcePosition position); |
// Allocate a constant pool of the correct size for the generated code. |
Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); |