| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 5518d15529ecfebf64358752696cdf7bc10c4330..36fdd6500000f63ab2b028f2553a1ada59103767 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -3099,7 +3099,7 @@ static Object* Runtime_Typeof(Arguments args) {
|
| }
|
| ASSERT(heap_obj->IsUndefined());
|
| return Heap::undefined_symbol();
|
| - case JS_FUNCTION_TYPE:
|
| + case JS_FUNCTION_TYPE: case JS_REGEXP_TYPE:
|
| return Heap::function_symbol();
|
| default:
|
| // For any kind of object not handled above, the spec rule for
|
|
|