| Index: src/assembler.cc
|
| diff --git a/src/assembler.cc b/src/assembler.cc
|
| index b93149407e8709b0666e2baa833c44f860439ff0..be196f7e2181ee04a656ace2692ccddeb3d3ac9e 100644
|
| --- a/src/assembler.cc
|
| +++ b/src/assembler.cc
|
| @@ -1826,7 +1826,7 @@ std::ostream& operator<<(std::ostream& os, ExternalReference reference) {
|
| return os;
|
| }
|
|
|
| -bool AssemblerPositionsRecorder::RecordPosition(int pos) {
|
| +void AssemblerPositionsRecorder::RecordPosition(int pos) {
|
| DCHECK(pos != RelocInfo::kNoPosition);
|
| DCHECK(pos >= 0);
|
| current_position_ = pos;
|
| @@ -1834,10 +1834,10 @@ bool AssemblerPositionsRecorder::RecordPosition(int pos) {
|
| CodeLinePosInfoAddPositionEvent(jit_handler_data_,
|
| assembler_->pc_offset(),
|
| pos));
|
| - return WriteRecordedPositions();
|
| + WriteRecordedPositions();
|
| }
|
|
|
| -bool AssemblerPositionsRecorder::RecordStatementPosition(int pos) {
|
| +void AssemblerPositionsRecorder::RecordStatementPosition(int pos) {
|
| DCHECK(pos != RelocInfo::kNoPosition);
|
| DCHECK(pos >= 0);
|
| current_statement_position_ = pos;
|
| @@ -1846,12 +1846,10 @@ bool AssemblerPositionsRecorder::RecordStatementPosition(int pos) {
|
| jit_handler_data_,
|
| assembler_->pc_offset(),
|
| pos));
|
| - return RecordPosition(pos);
|
| + RecordPosition(pos);
|
| }
|
|
|
| -bool AssemblerPositionsRecorder::WriteRecordedPositions() {
|
| - bool written = false;
|
| -
|
| +void AssemblerPositionsRecorder::WriteRecordedPositions() {
|
| // Write the statement position if it is different from what was written last
|
| // time.
|
| if (current_statement_position_ != written_statement_position_) {
|
| @@ -1860,7 +1858,6 @@ bool AssemblerPositionsRecorder::WriteRecordedPositions() {
|
| current_statement_position_);
|
| written_position_ = current_statement_position_;
|
| written_statement_position_ = current_statement_position_;
|
| - written = true;
|
| }
|
|
|
| // Write the position if it is different from what was written last time and
|
| @@ -1869,11 +1866,7 @@ bool AssemblerPositionsRecorder::WriteRecordedPositions() {
|
| EnsureSpace ensure_space(assembler_);
|
| assembler_->RecordRelocInfo(RelocInfo::POSITION, current_position_);
|
| written_position_ = current_position_;
|
| - written = true;
|
| }
|
| -
|
| - // Return whether something was written.
|
| - return written;
|
| }
|
|
|
|
|
|
|