Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 812d1dab08c610b27d45192942a3bbcf4bffaba2..09297f81ffd4882c5ed1ca6fb1274f0fa94623fb 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3061,7 +3061,7 @@ RUNTIME_FUNCTION(Runtime_FunctionSetReadOnlyPrototype) { |
} else { // Dictionary properties. |
// Directly manipulate the property details. |
DisallowHeapAllocation no_gc; |
- int entry = function->property_dictionary()->FindEntry(*name); |
+ int entry = function->property_dictionary()->FindEntry(name); |
ASSERT(entry != NameDictionary::kNotFound); |
PropertyDetails details = function->property_dictionary()->DetailsAt(entry); |
PropertyDetails new_details( |
@@ -15116,7 +15116,7 @@ void Runtime::InitializeIntrinsicFunctionNames(Isolate* isolate, |
const Runtime::Function* Runtime::FunctionForName(Handle<String> name) { |
Heap* heap = name->GetHeap(); |
- int entry = heap->intrinsic_function_names()->FindEntry(*name); |
+ int entry = heap->intrinsic_function_names()->FindEntry(name); |
if (entry != kNotFound) { |
Object* smi_index = heap->intrinsic_function_names()->ValueAt(entry); |
int function_index = Smi::cast(smi_index)->value(); |