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

Side by Side Diff: src/objects.h

Issue 911363002: Revert of new classes: implement new.target passing to superclass constructor. (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/ic.cc ('k') | src/objects-inl.h » ('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 6752 matching lines...) Expand 10 before | Expand all | Expand 10 after
6763 DECL_ACCESSORS(construct_stub, Code) 6763 DECL_ACCESSORS(construct_stub, Code)
6764 6764
6765 // Returns if this function has been compiled to native code yet. 6765 // Returns if this function has been compiled to native code yet.
6766 inline bool is_compiled(); 6766 inline bool is_compiled();
6767 6767
6768 // [length]: The function length - usually the number of declared parameters. 6768 // [length]: The function length - usually the number of declared parameters.
6769 // Use up to 2^30 parameters. 6769 // Use up to 2^30 parameters.
6770 inline int length() const; 6770 inline int length() const;
6771 inline void set_length(int value); 6771 inline void set_length(int value);
6772 6772
6773 // [internal formal parameter count]: The declared number of parameters. 6773 // [formal parameter count]: The declared number of parameters.
6774 // For subclass constructors, also includes new.target. 6774 inline int formal_parameter_count() const;
6775 // The size of function's frame is internal_formal_parameter_count + 1. 6775 inline void set_formal_parameter_count(int value);
6776 inline int internal_formal_parameter_count() const;
6777 inline void set_internal_formal_parameter_count(int value);
6778 6776
6779 // Set the formal parameter count so the function code will be 6777 // Set the formal parameter count so the function code will be
6780 // called without using argument adaptor frames. 6778 // called without using argument adaptor frames.
6781 inline void DontAdaptArguments(); 6779 inline void DontAdaptArguments();
6782 6780
6783 // [expected_nof_properties]: Expected number of properties for the function. 6781 // [expected_nof_properties]: Expected number of properties for the function.
6784 inline int expected_nof_properties() const; 6782 inline int expected_nof_properties() const;
6785 inline void set_expected_nof_properties(int value); 6783 inline void set_expected_nof_properties(int value);
6786 6784
6787 // [feedback_vector] - accumulates ast node feedback from full-codegen and 6785 // [feedback_vector] - accumulates ast node feedback from full-codegen and
(...skipping 4179 matching lines...) Expand 10 before | Expand all | Expand 10 after
10967 } else { 10965 } else {
10968 value &= ~(1 << bit_position); 10966 value &= ~(1 << bit_position);
10969 } 10967 }
10970 return value; 10968 return value;
10971 } 10969 }
10972 }; 10970 };
10973 10971
10974 } } // namespace v8::internal 10972 } } // namespace v8::internal
10975 10973
10976 #endif // V8_OBJECTS_H_ 10974 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698