Index: src/type-info.cc |
=================================================================== |
--- src/type-info.cc (revision 9511) |
+++ src/type-info.cc (working copy) |
@@ -60,8 +60,10 @@ |
TypeFeedbackOracle::TypeFeedbackOracle(Handle<Code> code, |
- Handle<Context> global_context) { |
+ Handle<Context> global_context, |
+ Isolate* isolate) { |
global_context_ = global_context; |
+ isolate_ = isolate; |
BuildDictionary(code); |
ASSERT(reinterpret_cast<Address>(*dictionary_.location()) != kHandleZapValue); |
} |
@@ -71,7 +73,7 @@ |
int entry = dictionary_->FindEntry(ast_id); |
return entry != NumberDictionary::kNotFound |
? Handle<Object>(dictionary_->ValueAt(entry)) |
- : Isolate::Current()->factory()->undefined_value(); |
+ : Handle<Object>::cast(Isolate::Current()->factory()->undefined_value()); |
Vyacheslav Egorov (Chromium)
2011/10/04 11:00:51
you have isolate_ now
fschneider
2011/10/04 11:28:16
Done. Of course, I totally forgot about that :)
|
} |