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

Side by Side Diff: src/objects-inl.h

Issue 1408123002: Revert of [turbofan] Initial support for monomorphic/polymorphic property loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « src/objects.h ('k') | test/mjsunit/es6/block-scoping.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 4887 matching lines...) Expand 10 before | Expand all | Expand 10 after
4898 bool Map::IsJSProxyMap() { 4898 bool Map::IsJSProxyMap() {
4899 InstanceType type = instance_type(); 4899 InstanceType type = instance_type();
4900 return FIRST_JS_PROXY_TYPE <= type && type <= LAST_JS_PROXY_TYPE; 4900 return FIRST_JS_PROXY_TYPE <= type && type <= LAST_JS_PROXY_TYPE;
4901 } 4901 }
4902 bool Map::IsJSGlobalProxyMap() { 4902 bool Map::IsJSGlobalProxyMap() {
4903 return instance_type() == JS_GLOBAL_PROXY_TYPE; 4903 return instance_type() == JS_GLOBAL_PROXY_TYPE;
4904 } 4904 }
4905 bool Map::IsJSGlobalObjectMap() { 4905 bool Map::IsJSGlobalObjectMap() {
4906 return instance_type() == JS_GLOBAL_OBJECT_TYPE; 4906 return instance_type() == JS_GLOBAL_OBJECT_TYPE;
4907 } 4907 }
4908 bool Map::IsJSTypedArrayMap() { return instance_type() == JS_TYPED_ARRAY_TYPE; }
4909 bool Map::IsGlobalObjectMap() { 4908 bool Map::IsGlobalObjectMap() {
4910 const InstanceType type = instance_type(); 4909 const InstanceType type = instance_type();
4911 return type == JS_GLOBAL_OBJECT_TYPE || type == JS_BUILTINS_OBJECT_TYPE; 4910 return type == JS_GLOBAL_OBJECT_TYPE || type == JS_BUILTINS_OBJECT_TYPE;
4912 } 4911 }
4913 4912
4914 4913
4915 bool Map::CanOmitMapChecks() { 4914 bool Map::CanOmitMapChecks() {
4916 return is_stable() && FLAG_omit_map_checks_for_leaf_maps; 4915 return is_stable() && FLAG_omit_map_checks_for_leaf_maps;
4917 } 4916 }
4918 4917
(...skipping 3193 matching lines...) Expand 10 before | Expand all | Expand 10 after
8112 #undef WRITE_INT64_FIELD 8111 #undef WRITE_INT64_FIELD
8113 #undef READ_BYTE_FIELD 8112 #undef READ_BYTE_FIELD
8114 #undef WRITE_BYTE_FIELD 8113 #undef WRITE_BYTE_FIELD
8115 #undef NOBARRIER_READ_BYTE_FIELD 8114 #undef NOBARRIER_READ_BYTE_FIELD
8116 #undef NOBARRIER_WRITE_BYTE_FIELD 8115 #undef NOBARRIER_WRITE_BYTE_FIELD
8117 8116
8118 } // namespace internal 8117 } // namespace internal
8119 } // namespace v8 8118 } // namespace v8
8120 8119
8121 #endif // V8_OBJECTS_INL_H_ 8120 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | test/mjsunit/es6/block-scoping.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698