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

Side by Side Diff: src/objects.h

Issue 1126103006: Provide accessor for object internal properties that doesn't require debugger to be active (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/mirror-debugger.js ('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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 1049
1050 INLINE(bool IsSpecObject()) const; 1050 INLINE(bool IsSpecObject()) const;
1051 INLINE(bool IsSpecFunction()) const; 1051 INLINE(bool IsSpecFunction()) const;
1052 INLINE(bool IsTemplateInfo()) const; 1052 INLINE(bool IsTemplateInfo()) const;
1053 INLINE(bool IsNameDictionary() const); 1053 INLINE(bool IsNameDictionary() const);
1054 INLINE(bool IsSeededNumberDictionary() const); 1054 INLINE(bool IsSeededNumberDictionary() const);
1055 INLINE(bool IsUnseededNumberDictionary() const); 1055 INLINE(bool IsUnseededNumberDictionary() const);
1056 INLINE(bool IsOrderedHashSet() const); 1056 INLINE(bool IsOrderedHashSet() const);
1057 INLINE(bool IsOrderedHashMap() const); 1057 INLINE(bool IsOrderedHashMap() const);
1058 bool IsCallable() const; 1058 bool IsCallable() const;
1059 static bool IsPromise(Handle<Object> object);
1059 1060
1060 // Oddball testing. 1061 // Oddball testing.
1061 INLINE(bool IsUndefined() const); 1062 INLINE(bool IsUndefined() const);
1062 INLINE(bool IsNull() const); 1063 INLINE(bool IsNull() const);
1063 INLINE(bool IsTheHole() const); 1064 INLINE(bool IsTheHole() const);
1064 INLINE(bool IsException() const); 1065 INLINE(bool IsException() const);
1065 INLINE(bool IsUninitialized() const); 1066 INLINE(bool IsUninitialized() const);
1066 INLINE(bool IsTrue() const); 1067 INLINE(bool IsTrue() const);
1067 INLINE(bool IsFalse() const); 1068 INLINE(bool IsFalse() const);
1068 INLINE(bool IsArgumentsMarker() const); 1069 INLINE(bool IsArgumentsMarker() const);
(...skipping 10032 matching lines...) Expand 10 before | Expand all | Expand 10 after
11101 } else { 11102 } else {
11102 value &= ~(1 << bit_position); 11103 value &= ~(1 << bit_position);
11103 } 11104 }
11104 return value; 11105 return value;
11105 } 11106 }
11106 }; 11107 };
11107 11108
11108 } } // namespace v8::internal 11109 } } // namespace v8::internal
11109 11110
11110 #endif // V8_OBJECTS_H_ 11111 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mirror-debugger.js ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698