Chromium Code Reviews| Index: src/x64/assembler-x64-inl.h |
| diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
| index a7256565f1d9b8e3803221de5ff41c6feb9a3b4a..151bbec8d685ccea99936c0686def863acbc73ad 100644 |
| --- a/src/x64/assembler-x64-inl.h |
| +++ b/src/x64/assembler-x64-inl.h |
| @@ -65,7 +65,7 @@ void Assembler::emit_code_target(Handle<Code> target, |
| RecordRelocInfo(rmode); |
| } |
| int current = code_targets_.length(); |
| - if (current > 0 && code_targets_.last().is_identical_to(target)) { |
| + if (current > 0 && code_targets_.last().location() == target.location()) { |
|
Benedikt Meurer
2016/07/08 07:18:29
Please use address() instead of location().
ahaas
2016/07/08 07:32:43
Done.
|
| // Optimization if we keep jumping to the same code target. |
| emitl(current - 1); |
| } else { |