Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 922225f4d155db5c6e435840599528f01e2f6cfb..56b7a90372a99f53b5b7156e91d06b26658fe9c9 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4637,7 +4637,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Typeof) { |
} |
ASSERT(heap_obj->IsUndefined()); |
return isolate->heap()->undefined_symbol(); |
- case JS_FUNCTION_TYPE: case JS_REGEXP_TYPE: |
+ case JS_FUNCTION_TYPE: |
return isolate->heap()->function_symbol(); |
default: |
// For any kind of object not handled above, the spec rule for |