Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Unified Diff: src/objects-inl.h

Issue 2636493003: Revert of [compiler] Support Object.create(null) inlining in TF (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 8fdbd1b29fe17747243a453339d614af4b76623a..64d0a93cc832bec9ba50a10654e26cf7d837d42f 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -2229,9 +2229,6 @@
}
}
-inline bool IsSpecialReceiverInstanceType(InstanceType instance_type) {
- return instance_type <= LAST_SPECIAL_RECEIVER_TYPE;
-}
int JSObject::GetInternalFieldCount(Map* map) {
int instance_size = map->instance_size();
@@ -4977,12 +4974,6 @@
bool Map::IsJSTypedArrayMap() { return instance_type() == JS_TYPED_ARRAY_TYPE; }
bool Map::IsJSDataViewMap() { return instance_type() == JS_DATA_VIEW_TYPE; }
-bool Map::IsSpecialReceiverMap() {
- bool result = IsSpecialReceiverInstanceType(instance_type());
- DCHECK_IMPLIES(!result,
- !has_named_interceptor() && !is_access_check_needed());
- return result;
-}
bool Map::CanOmitMapChecks() {
return is_stable() && FLAG_omit_map_checks_for_leaf_maps;
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698