Chromium Code Reviews| Index: src/log.cc |
| diff --git a/src/log.cc b/src/log.cc |
| index 0931f920795262345cc4e3b79bd259bd0295383f..db6ae04ad3ef7833964b4bde3a705503a217b7ff 100644 |
| --- a/src/log.cc |
| +++ b/src/log.cc |
| @@ -1643,8 +1643,8 @@ void Logger::LogAccessorCallbacks() { |
| HeapIterator iterator; |
| AssertNoAllocation no_alloc; |
| for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |
| - if (!obj->IsAccessorInfo()) continue; |
| - AccessorInfo* ai = AccessorInfo::cast(obj); |
| + if (!obj->IsExecutableAccessorInfo()) continue; |
|
Sven Panne
2013/02/07 10:01:03
Hmmm, I am not sure is ignoring DeclaredAccessorIn
dcarney
2013/02/07 13:40:39
I really have no idea what's going on here. Maybe
|
| + ExecutableAccessorInfo* ai = ExecutableAccessorInfo::cast(obj); |
| if (!ai->name()->IsString()) continue; |
| String* name = String::cast(ai->name()); |
| Address getter_entry = v8::ToCData<Address>(ai->getter()); |