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

Side by Side Diff: src/objects.h

Issue 1416493007: [turbofan] Implement the implicit ToObject for property access. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/ic-inl.h ('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 5500 matching lines...) Expand 10 before | Expand all | Expand 10 after
5511 inline void set_inobject_properties_or_constructor_function_index(int value); 5511 inline void set_inobject_properties_or_constructor_function_index(int value);
5512 // Count of properties allocated in the object (JSObject only). 5512 // Count of properties allocated in the object (JSObject only).
5513 inline int GetInObjectProperties(); 5513 inline int GetInObjectProperties();
5514 inline void SetInObjectProperties(int value); 5514 inline void SetInObjectProperties(int value);
5515 // Index of the constructor function in the native context (primitives only), 5515 // Index of the constructor function in the native context (primitives only),
5516 // or the special sentinel value to indicate that there is no object wrapper 5516 // or the special sentinel value to indicate that there is no object wrapper
5517 // for the primitive (i.e. in case of null or undefined). 5517 // for the primitive (i.e. in case of null or undefined).
5518 static const int kNoConstructorFunctionIndex = 0; 5518 static const int kNoConstructorFunctionIndex = 0;
5519 inline int GetConstructorFunctionIndex(); 5519 inline int GetConstructorFunctionIndex();
5520 inline void SetConstructorFunctionIndex(int value); 5520 inline void SetConstructorFunctionIndex(int value);
5521 static MaybeHandle<JSFunction> GetConstructorFunction(
5522 Handle<Map> map, Handle<Context> native_context);
5521 5523
5522 // Instance type. 5524 // Instance type.
5523 inline InstanceType instance_type(); 5525 inline InstanceType instance_type();
5524 inline void set_instance_type(InstanceType value); 5526 inline void set_instance_type(InstanceType value);
5525 5527
5526 // Tells how many unused property fields are available in the 5528 // Tells how many unused property fields are available in the
5527 // instance (only used for JSObject in fast mode). 5529 // instance (only used for JSObject in fast mode).
5528 inline int unused_property_fields(); 5530 inline int unused_property_fields();
5529 inline void set_unused_property_fields(int value); 5531 inline void set_unused_property_fields(int value);
5530 5532
(...skipping 5307 matching lines...) Expand 10 before | Expand all | Expand 10 after
10838 // (elements + properties) in the current level. 10840 // (elements + properties) in the current level.
10839 int levelLength_ = 0; 10841 int levelLength_ = 0;
10840 10842
10841 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10843 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10842 }; 10844 };
10843 10845
10844 } // NOLINT, false-positive due to second-order macros. 10846 } // NOLINT, false-positive due to second-order macros.
10845 } // NOLINT, false-positive due to second-order macros. 10847 } // NOLINT, false-positive due to second-order macros.
10846 10848
10847 #endif // V8_OBJECTS_H_ 10849 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic/ic-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698