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

Side by Side Diff: src/objects.h

Issue 924123002: ES6 Classes: Remove tracking of super construct calls. (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/ast.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 6894 matching lines...) Expand 10 before | Expand all | Expand 10 after
6905 inline LanguageMode language_mode(); 6905 inline LanguageMode language_mode();
6906 inline void set_language_mode(LanguageMode language_mode); 6906 inline void set_language_mode(LanguageMode language_mode);
6907 6907
6908 // False if the function definitely does not allocate an arguments object. 6908 // False if the function definitely does not allocate an arguments object.
6909 DECL_BOOLEAN_ACCESSORS(uses_arguments) 6909 DECL_BOOLEAN_ACCESSORS(uses_arguments)
6910 6910
6911 // Indicates that this function uses a super property. 6911 // Indicates that this function uses a super property.
6912 // This is needed to set up the [[HomeObject]] on the function instance. 6912 // This is needed to set up the [[HomeObject]] on the function instance.
6913 DECL_BOOLEAN_ACCESSORS(uses_super_property) 6913 DECL_BOOLEAN_ACCESSORS(uses_super_property)
6914 6914
6915 // Indicates that this function uses the super constructor.
6916 DECL_BOOLEAN_ACCESSORS(uses_super_constructor_call)
6917
6918 // True if the function has any duplicated parameter names. 6915 // True if the function has any duplicated parameter names.
6919 DECL_BOOLEAN_ACCESSORS(has_duplicate_parameters) 6916 DECL_BOOLEAN_ACCESSORS(has_duplicate_parameters)
6920 6917
6921 // Indicates whether the function is a native function. 6918 // Indicates whether the function is a native function.
6922 // These needs special treatment in .call and .apply since 6919 // These needs special treatment in .call and .apply since
6923 // null passed as the receiver should not be translated to the 6920 // null passed as the receiver should not be translated to the
6924 // global object. 6921 // global object.
6925 DECL_BOOLEAN_ACCESSORS(native) 6922 DECL_BOOLEAN_ACCESSORS(native)
6926 6923
6927 // Indicate that this builtin needs to be inlined in crankshaft. 6924 // Indicate that this builtin needs to be inlined in crankshaft.
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
7192 7189
7193 // Bit positions in compiler_hints. 7190 // Bit positions in compiler_hints.
7194 enum CompilerHints { 7191 enum CompilerHints {
7195 kAllowLazyCompilation, 7192 kAllowLazyCompilation,
7196 kAllowLazyCompilationWithoutContext, 7193 kAllowLazyCompilationWithoutContext,
7197 kOptimizationDisabled, 7194 kOptimizationDisabled,
7198 kStrictModeFunction, 7195 kStrictModeFunction,
7199 kStrongModeFunction, 7196 kStrongModeFunction,
7200 kUsesArguments, 7197 kUsesArguments,
7201 kUsesSuperProperty, 7198 kUsesSuperProperty,
7202 kUsesSuperConstructorCall,
7203 kHasDuplicateParameters, 7199 kHasDuplicateParameters,
7204 kNative, 7200 kNative,
7205 kInlineBuiltin, 7201 kInlineBuiltin,
7206 kBoundFunction, 7202 kBoundFunction,
7207 kIsAnonymous, 7203 kIsAnonymous,
7208 kNameShouldPrintAsAnonymous, 7204 kNameShouldPrintAsAnonymous,
7209 kIsFunction, 7205 kIsFunction,
7210 kDontCache, 7206 kDontCache,
7211 kDontFlush, 7207 kDontFlush,
7212 kIsArrow, 7208 kIsArrow,
(...skipping 3761 matching lines...) Expand 10 before | Expand all | Expand 10 after
10974 } else { 10970 } else {
10975 value &= ~(1 << bit_position); 10971 value &= ~(1 << bit_position);
10976 } 10972 }
10977 return value; 10973 return value;
10978 } 10974 }
10979 }; 10975 };
10980 10976
10981 } } // namespace v8::internal 10977 } } // namespace v8::internal
10982 10978
10983 #endif // V8_OBJECTS_H_ 10979 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698