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

Side by Side Diff: src/objects.h

Issue 935603002: Stop using HeapType in IC and Crankshaft (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/ic/x64/ic-compiler-x64.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 10384 matching lines...) Expand 10 before | Expand all | Expand 10 after
10395 inline bool all_can_read(); 10395 inline bool all_can_read();
10396 inline void set_all_can_read(bool value); 10396 inline void set_all_can_read(bool value);
10397 10397
10398 inline bool all_can_write(); 10398 inline bool all_can_write();
10399 inline void set_all_can_write(bool value); 10399 inline void set_all_can_write(bool value);
10400 10400
10401 inline PropertyAttributes property_attributes(); 10401 inline PropertyAttributes property_attributes();
10402 inline void set_property_attributes(PropertyAttributes attributes); 10402 inline void set_property_attributes(PropertyAttributes attributes);
10403 10403
10404 // Checks whether the given receiver is compatible with this accessor. 10404 // Checks whether the given receiver is compatible with this accessor.
10405 static bool IsCompatibleReceiverType(Isolate* isolate, 10405 static bool IsCompatibleReceiverMap(Isolate* isolate,
10406 Handle<AccessorInfo> info, 10406 Handle<AccessorInfo> info,
10407 Handle<HeapType> type); 10407 Handle<Map> map);
10408 inline bool IsCompatibleReceiver(Object* receiver); 10408 inline bool IsCompatibleReceiver(Object* receiver);
10409 10409
10410 DECLARE_CAST(AccessorInfo) 10410 DECLARE_CAST(AccessorInfo)
10411 10411
10412 // Dispatched behavior. 10412 // Dispatched behavior.
10413 DECLARE_VERIFIER(AccessorInfo) 10413 DECLARE_VERIFIER(AccessorInfo)
10414 10414
10415 // Append all descriptors to the array that are not already there. 10415 // Append all descriptors to the array that are not already there.
10416 // Return number added. 10416 // Return number added.
10417 static int AppendUnique(Handle<Object> descriptors, 10417 static int AppendUnique(Handle<Object> descriptors,
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
10985 } else { 10985 } else {
10986 value &= ~(1 << bit_position); 10986 value &= ~(1 << bit_position);
10987 } 10987 }
10988 return value; 10988 return value;
10989 } 10989 }
10990 }; 10990 };
10991 10991
10992 } } // namespace v8::internal 10992 } } // namespace v8::internal
10993 10993
10994 #endif // V8_OBJECTS_H_ 10994 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic/x64/ic-compiler-x64.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698