Index: src/runtime.h |
diff --git a/src/runtime.h b/src/runtime.h |
index 2625c69413678c6d3b2efd279a97894c506f84f3..571f893b3284cbd2c22ea1ee306ae396efcef080 100644 |
--- a/src/runtime.h |
+++ b/src/runtime.h |
@@ -642,15 +642,16 @@ class Runtime : public AllStatic { |
static const int kNotFound = -1; |
- // Add symbols for all the intrinsic function names to a StringDictionary. |
+ // Add internalized strings for all the intrinsic function names to a |
+ // StringDictionary. |
// Returns failure if an allocation fails. In this case, it must be |
// retried with a new, empty StringDictionary, not with the same one. |
// Alternatively, heap initialization can be completely restarted. |
MUST_USE_RESULT static MaybeObject* InitializeIntrinsicFunctionNames( |
Heap* heap, Object* dictionary); |
- // Get the intrinsic function with the given name, which must be a symbol. |
- static const Function* FunctionForSymbol(Handle<String> name); |
+ // Get the intrinsic function with the given name, which must be internalized. |
+ static const Function* FunctionForName(Handle<String> name); |
// Get the intrinsic function with the given FunctionId. |
static const Function* FunctionForId(FunctionId id); |