| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 4a1e01dcaa3135aa4ebd452259c847f60a9e70ab..499c30ecab8971cf1430b87f91236ad317217b8a 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1685,12 +1685,11 @@ class Heap {
|
| static void ScavengeObjectSlow(HeapObject** p, HeapObject* object);
|
|
|
| // Initializes a function with a shared part and prototype.
|
| - // Returns the function.
|
| // Note: this code was factored out of AllocateFunction such that
|
| // other parts of the VM could use it. Specifically, a function that creates
|
| // instances of type JS_FUNCTION_TYPE benefit from the use of this function.
|
| // Please note this does not perform a garbage collection.
|
| - MUST_USE_RESULT inline MaybeObject* InitializeFunction(
|
| + inline void InitializeFunction(
|
| JSFunction* function,
|
| SharedFunctionInfo* shared,
|
| Object* prototype);
|
|
|