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

Side by Side Diff: src/objects.h

Issue 1476403004: Remove Object::IsSpecObject, use Object::IsJSReceiver instead. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 5 years 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/contexts.cc ('k') | src/objects.cc » ('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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 INLINE(bool Is##Name() const); 1051 INLINE(bool Is##Name() const);
1052 STRUCT_LIST(DECLARE_STRUCT_PREDICATE) 1052 STRUCT_LIST(DECLARE_STRUCT_PREDICATE)
1053 #undef DECLARE_STRUCT_PREDICATE 1053 #undef DECLARE_STRUCT_PREDICATE
1054 1054
1055 // ES6, section 7.2.3 IsCallable. 1055 // ES6, section 7.2.3 IsCallable.
1056 INLINE(bool IsCallable() const); 1056 INLINE(bool IsCallable() const);
1057 1057
1058 // ES6, section 7.2.4 IsConstructor. 1058 // ES6, section 7.2.4 IsConstructor.
1059 INLINE(bool IsConstructor() const); 1059 INLINE(bool IsConstructor() const);
1060 1060
1061 INLINE(bool IsSpecObject()) const;
1062 INLINE(bool IsTemplateInfo()) const; 1061 INLINE(bool IsTemplateInfo()) const;
1063 INLINE(bool IsNameDictionary() const); 1062 INLINE(bool IsNameDictionary() const);
1064 INLINE(bool IsGlobalDictionary() const); 1063 INLINE(bool IsGlobalDictionary() const);
1065 INLINE(bool IsSeededNumberDictionary() const); 1064 INLINE(bool IsSeededNumberDictionary() const);
1066 INLINE(bool IsUnseededNumberDictionary() const); 1065 INLINE(bool IsUnseededNumberDictionary() const);
1067 INLINE(bool IsOrderedHashSet() const); 1066 INLINE(bool IsOrderedHashSet() const);
1068 INLINE(bool IsOrderedHashMap() const); 1067 INLINE(bool IsOrderedHashMap() const);
1069 static bool IsPromise(Handle<Object> object); 1068 static bool IsPromise(Handle<Object> object);
1070 1069
1071 // Oddball testing. 1070 // Oddball testing.
(...skipping 9640 matching lines...) Expand 10 before | Expand all | Expand 10 after
10712 } 10711 }
10713 return value; 10712 return value;
10714 } 10713 }
10715 }; 10714 };
10716 10715
10717 10716
10718 } // NOLINT, false-positive due to second-order macros. 10717 } // NOLINT, false-positive due to second-order macros.
10719 } // NOLINT, false-positive due to second-order macros. 10718 } // NOLINT, false-positive due to second-order macros.
10720 10719
10721 #endif // V8_OBJECTS_H_ 10720 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698