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

Side by Side Diff: src/objects.h

Issue 1590873002: Make generators non-constructable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adapt test262.status Created 4 years, 11 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/globals.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 5527 matching lines...) Expand 10 before | Expand all | Expand 10 after
5538 // Tells whether the object in the prototype property will be used 5538 // Tells whether the object in the prototype property will be used
5539 // for instances created from this function. If the prototype 5539 // for instances created from this function. If the prototype
5540 // property is set to a value that is not a JSObject, the prototype 5540 // property is set to a value that is not a JSObject, the prototype
5541 // property will not be used to create instances of the function. 5541 // property will not be used to create instances of the function.
5542 // See ECMA-262, 13.2.2. 5542 // See ECMA-262, 13.2.2.
5543 inline void set_non_instance_prototype(bool value); 5543 inline void set_non_instance_prototype(bool value);
5544 inline bool has_non_instance_prototype(); 5544 inline bool has_non_instance_prototype();
5545 5545
5546 // Tells whether the instance has a [[Construct]] internal method. 5546 // Tells whether the instance has a [[Construct]] internal method.
5547 // This property is implemented according to ES6, section 7.2.4. 5547 // This property is implemented according to ES6, section 7.2.4.
5548 inline void set_is_constructor(); 5548 inline void set_is_constructor(bool value);
5549 inline bool is_constructor() const; 5549 inline bool is_constructor() const;
5550 5550
5551 // Tells whether the instance with this map should be ignored by the 5551 // Tells whether the instance with this map should be ignored by the
5552 // Object.getPrototypeOf() function and the __proto__ accessor. 5552 // Object.getPrototypeOf() function and the __proto__ accessor.
5553 inline void set_is_hidden_prototype(); 5553 inline void set_is_hidden_prototype();
5554 inline bool is_hidden_prototype() const; 5554 inline bool is_hidden_prototype() const;
5555 5555
5556 // Records and queries whether the instance has a named interceptor. 5556 // Records and queries whether the instance has a named interceptor.
5557 inline void set_has_named_interceptor(); 5557 inline void set_has_named_interceptor();
5558 inline bool has_named_interceptor(); 5558 inline bool has_named_interceptor();
(...skipping 5185 matching lines...) Expand 10 before | Expand all | Expand 10 after
10744 } 10744 }
10745 return value; 10745 return value;
10746 } 10746 }
10747 }; 10747 };
10748 10748
10749 10749
10750 } // NOLINT, false-positive due to second-order macros. 10750 } // NOLINT, false-positive due to second-order macros.
10751 } // NOLINT, false-positive due to second-order macros. 10751 } // NOLINT, false-positive due to second-order macros.
10752 10752
10753 #endif // V8_OBJECTS_H_ 10753 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698