Chromium Code Reviews| Index: src/ic.cc |
| diff --git a/src/ic.cc b/src/ic.cc |
| index 5ba3428268b460029e9d8ef633634a8e25072c25..f89cac85144383fc2c18554117778aa0f864f0ca 100644 |
| --- a/src/ic.cc |
| +++ b/src/ic.cc |
| @@ -87,11 +87,6 @@ void IC::TraceIC(const char* type, |
| // Find the function on the stack and both the active code for the |
| // function and the original code. |
| JSFunction* function = JSFunction::cast(frame->function()); |
| - |
| - SmartArrayPointer<char> name = function->shared()->DebugName()->ToCString(); |
|
Sven Panne
2011/09/16 09:19:32
Debugging remnants? :-)
|
| - if (!strcmp(*name, "draw") && !strcmp(type, "KeyedStoreIC")) { |
| - // asm("int3"); |
| - } |
| function->PrintName(); |
| int code_offset = |
| static_cast<int>(address() - js_code->instruction_start()); |
| @@ -1695,6 +1690,7 @@ MaybeObject* KeyedIC::ComputeMonomorphicStubWithoutMapCheck( |
| } else { |
| ASSERT(receiver_map->has_dictionary_elements() || |
| receiver_map->has_fast_elements() || |
| + receiver_map->has_fast_smi_only_elements() || |
| receiver_map->has_fast_double_elements() || |
| receiver_map->has_external_array_elements()); |
| bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; |