Commit 5553afe1 authored by Cong Zuo's avatar Cong Zuo Committed by Commit Bot

[ic] Remove outdated comments

Change-Id: I257cd745966cbd9ee87eb725b3f80fbf5bf40ca3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2423743Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70053}
parent 3df04d7f
...@@ -93,8 +93,6 @@ int InitPrototypeChecksImpl(Isolate* isolate, Handle<ICHandler> handler, ...@@ -93,8 +93,6 @@ int InitPrototypeChecksImpl(Isolate* isolate, Handle<ICHandler> handler,
// prototype chain from |lookup_start_object_map| till |holder| did not change. // prototype chain from |lookup_start_object_map| till |holder| did not change.
// If the |holder| is an empty handle then the full prototype chain is // If the |holder| is an empty handle then the full prototype chain is
// checked. // checked.
// Returns -1 if the handler has to be compiled or the number of prototype
// checks otherwise.
template <typename ICHandler> template <typename ICHandler>
int GetHandlerDataSize(Isolate* isolate, Handle<Smi>* smi_handler, int GetHandlerDataSize(Isolate* isolate, Handle<Smi>* smi_handler,
Handle<Map> lookup_start_object_map, Handle<Map> lookup_start_object_map,
......
...@@ -159,7 +159,6 @@ class LoadHandler final : public DataHandler { ...@@ -159,7 +159,6 @@ class LoadHandler final : public DataHandler {
// Creates a data handler that represents a prototype chain check followed // Creates a data handler that represents a prototype chain check followed
// by given Smi-handler that encoded a load from the holder. // by given Smi-handler that encoded a load from the holder.
// Can be used only if GetPrototypeCheckCount() returns non negative value.
static Handle<Object> LoadFromPrototype( static Handle<Object> LoadFromPrototype(
Isolate* isolate, Handle<Map> receiver_map, Handle<JSReceiver> holder, Isolate* isolate, Handle<Map> receiver_map, Handle<JSReceiver> holder,
Handle<Smi> smi_handler, Handle<Smi> smi_handler,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment