| Index: src/wasm/wasm-debug.cc
|
| diff --git a/src/wasm/wasm-debug.cc b/src/wasm/wasm-debug.cc
|
| index a5ac40a8948080fc71cc85e6a404f0f3ac367d9c..aa1357a2847504dc041ce70ccf43a01e655a74a4 100644
|
| --- a/src/wasm/wasm-debug.cc
|
| +++ b/src/wasm/wasm-debug.cc
|
| @@ -303,7 +303,7 @@ int WasmDebugInfo::GetAsmJsSourcePosition(Handle<WasmDebugInfo> debug_info,
|
| DCHECK_LT(left, right);
|
| while (right - left > 1) {
|
| int mid = left + (right - left) / 2;
|
| - if (offset_table->get_int(2 * mid) < byte_offset) {
|
| + if (offset_table->get_int(2 * mid) <= byte_offset) {
|
| left = mid;
|
| } else {
|
| right = mid;
|
|
|