Commit bb8aadb7 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[cleanup] Remove unused function and fix typo in comment.

R=sigurds@chromium.org

Bug: v8:7902
Change-Id: I0a126221ffded34cccc7db793e92d0ae22952bb4
Reviewed-on: https://chromium-review.googlesource.com/1118235Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54088}
parent 41454fdb
......@@ -4610,7 +4610,7 @@ void Map::GeneralizeField(Isolate* isolate, Handle<Map> map, int modify_index,
Handle<FieldType> old_field_type(old_descriptors->GetFieldType(modify_index),
isolate);
// Return if the current map is general enough to hold requested contness and
// Return if the current map is general enough to hold requested constness and
// representation/field type.
if (((FLAG_modify_map_inplace &&
IsGeneralizableTo(new_constness, old_constness)) ||
......@@ -14858,17 +14858,6 @@ void JSArray::SetLength(Handle<JSArray> array, uint32_t new_length) {
}
// static
void Map::AddDependentCode(Isolate* isolate, Handle<Map> map,
DependentCode::DependencyGroup group,
Handle<Code> code) {
Handle<WeakCell> cell = Code::WeakCellFor(code);
Handle<DependentCode> codes = DependentCode::InsertWeakCode(
Handle<DependentCode>(map->dependent_code(), isolate), group, cell);
if (*codes != map->dependent_code()) map->set_dependent_code(*codes);
}
Handle<DependentCode> DependentCode::InsertCompilationDependencies(
Handle<DependentCode> entries, DependencyGroup group,
Handle<Foreign> info) {
......
......@@ -773,15 +773,9 @@ class Map : public HeapObject {
inline bool IsJSGlobalObjectMap() const;
inline bool IsJSTypedArrayMap() const;
inline bool IsJSDataViewMap() const;
inline bool IsSpecialReceiverMap() const;
inline bool IsCustomElementsReceiverMap() const;
static void AddDependentCode(Isolate* isolate, Handle<Map> map,
DependentCode::DependencyGroup group,
Handle<Code> code);
bool IsMapInArrayPrototypeChain(Isolate* isolate) const;
static Handle<WeakCell> WeakCellForMap(Isolate* isolate, Handle<Map> map);
......
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