Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 4aac08d54167b02d1bfe8368e7c3213e67b56d79..d1bf5c6948f890af708458bd2d0a762e7a88a2df 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -1837,11 +1837,9 @@ int ConstantPoolBuilder::Emit(Assembler* assm) { |
// Platform specific but identical code for all the platforms. |
-void Assembler::RecordDeoptReason(const int reason, |
- const SourcePosition position) { |
+void Assembler::RecordDeoptReason(const int reason, int raw_position) { |
if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) { |
EnsureSpace ensure_space(this); |
- int raw_position = position.IsUnknown() ? 0 : position.raw(); |
RecordRelocInfo(RelocInfo::POSITION, raw_position); |
RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); |
} |