Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 3e84da98cb4115cc499e650aed5e00d9658f0cf2..a86bfa3701c129d013fd6587b1daaf2dacf32c4d 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -15098,9 +15098,9 @@ void Runtime::InitializeIntrinsicFunctionNames(Isolate* isolate, |
for (int i = 0; i < kNumFunctions; ++i) { |
const char* name = kIntrinsicFunctions[i].name; |
if (name == NULL) continue; |
- Handle<NameDictionary> new_dict = NameDictionary::AddNameEntry( |
+ Handle<NameDictionary> new_dict = NameDictionary::Add( |
dict, |
- isolate->factory()->InternalizeUtf8String(name), |
+ *isolate->factory()->InternalizeUtf8String(name), |
Handle<Smi>(Smi::FromInt(i), isolate), |
PropertyDetails(NONE, NORMAL, Representation::None())); |
// The dictionary does not need to grow. |