Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 66e5655273a0fdf48f6ef564c48752538fd4ab83..dee5647b64b459067c768231bfcea061fb969df7 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -2294,15 +2294,6 @@ Type* Typer::Visitor::TypeWord32PairSar(Node* node) { return Type::Internal(); } |
// Heap constants. |
Type* Typer::Visitor::TypeConstant(Handle<Object> value) { |
- if (value->IsJSTypedArray()) { |
- switch (JSTypedArray::cast(*value)->type()) { |
-#define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
- case kExternal##Type##Array: \ |
- return typer_->cache_.k##Type##Array; |
- TYPED_ARRAYS(TYPED_ARRAY_CASE) |
-#undef TYPED_ARRAY_CASE |
- } |
- } |
if (Type::IsInteger(*value)) { |
return Type::Range(value->Number(), value->Number(), zone()); |
} |