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

Side by Side Diff: src/objects.h

Issue 1291043002: Debugger: remove duplicate heap iterations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@debuggerglobal
Patch Set: slight change Created 5 years, 4 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/debug/liveedit.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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 Isolate* isolate, Handle<Object> object, uint32_t index, 1187 Isolate* isolate, Handle<Object> object, uint32_t index,
1188 LanguageMode language_mode = SLOPPY); 1188 LanguageMode language_mode = SLOPPY);
1189 1189
1190 MUST_USE_RESULT static inline MaybeHandle<Object> SetElement( 1190 MUST_USE_RESULT static inline MaybeHandle<Object> SetElement(
1191 Isolate* isolate, Handle<Object> object, uint32_t index, 1191 Isolate* isolate, Handle<Object> object, uint32_t index,
1192 Handle<Object> value, LanguageMode language_mode); 1192 Handle<Object> value, LanguageMode language_mode);
1193 1193
1194 static inline Handle<Object> GetPrototypeSkipHiddenPrototypes( 1194 static inline Handle<Object> GetPrototypeSkipHiddenPrototypes(
1195 Isolate* isolate, Handle<Object> receiver); 1195 Isolate* isolate, Handle<Object> receiver);
1196 1196
1197 bool HasInPrototypeChain(Isolate* isolate, Object* object);
1198
1197 // Returns the permanent hash code associated with this object. May return 1199 // Returns the permanent hash code associated with this object. May return
1198 // undefined if not yet created. 1200 // undefined if not yet created.
1199 Object* GetHash(); 1201 Object* GetHash();
1200 1202
1201 // Returns undefined for JSObjects, but returns the hash code for simple 1203 // Returns undefined for JSObjects, but returns the hash code for simple
1202 // objects. This avoids a double lookup in the cases where we know we will 1204 // objects. This avoids a double lookup in the cases where we know we will
1203 // add the hash to the JSObject if it does not already exist. 1205 // add the hash to the JSObject if it does not already exist.
1204 Object* GetSimpleHash(); 1206 Object* GetSimpleHash();
1205 1207
1206 // Returns the permanent hash code associated with this object depending on 1208 // Returns the permanent hash code associated with this object depending on
(...skipping 9362 matching lines...) Expand 10 before | Expand all | Expand 10 after
10569 } else { 10571 } else {
10570 value &= ~(1 << bit_position); 10572 value &= ~(1 << bit_position);
10571 } 10573 }
10572 return value; 10574 return value;
10573 } 10575 }
10574 }; 10576 };
10575 10577
10576 } } // namespace v8::internal 10578 } } // namespace v8::internal
10577 10579
10578 #endif // V8_OBJECTS_H_ 10580 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/debug/liveedit.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698