Index: src/builtins/builtins-typedarray.cc |
diff --git a/src/builtins/builtins-typedarray.cc b/src/builtins/builtins-typedarray.cc |
index 10f1f7969a0739a9a39c4236a871563c039fb433..dadc95f5941e51e759411f4c94a05560ba06af50 100644 |
--- a/src/builtins/builtins-typedarray.cc |
+++ b/src/builtins/builtins-typedarray.cc |
@@ -58,12 +58,11 @@ void TypedArrayBuiltinsAssembler::GenerateTypedArrayPrototypeGetter( |
Bind(&receiver_is_incompatible); |
{ |
// The {receiver} is not a valid JSTypedArray. |
- Node* result = |
- CallRuntime(Runtime::kThrowIncompatibleMethodReceiver, context, |
- HeapConstant(factory()->NewStringFromAsciiChecked( |
- method_name, TENURED)), |
- receiver); |
- Return(result); // Never reached. |
+ CallRuntime(Runtime::kThrowIncompatibleMethodReceiver, context, |
+ HeapConstant( |
+ factory()->NewStringFromAsciiChecked(method_name, TENURED)), |
+ receiver); |
+ Unreachable(); |
} |
} |