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

Side by Side Diff: src/objects-inl.h

Issue 883073008: Accessor functions should have no prototype property (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use bitshift 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/objects.h ('k') | src/ppc/full-codegen-ppc.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 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 5853 matching lines...) Expand 10 before | Expand all | Expand 10 after
5864 kNameShouldPrintAsAnonymous) 5864 kNameShouldPrintAsAnonymous)
5865 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) 5865 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
5866 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) 5866 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
5867 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5867 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5868 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) 5868 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache)
5869 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5869 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5870 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) 5870 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow)
5871 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5871 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5872 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, 5872 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method,
5873 kIsConciseMethod) 5873 kIsConciseMethod)
5874 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_accessor_function,
5875 kIsAccessorFunction)
5874 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, 5876 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor,
5875 kIsDefaultConstructor) 5877 kIsDefaultConstructor)
5876 5878
5877 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) 5879 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset)
5878 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) 5880 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset)
5879 ACCESSORS(CodeCache, weak_cell_cache, Object, kWeakCellCacheOffset) 5881 ACCESSORS(CodeCache, weak_cell_cache, Object, kWeakCellCacheOffset)
5880 5882
5881 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset) 5883 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset)
5882 5884
5883 bool Script::HasValidSource() { 5885 bool Script::HasValidSource() {
(...skipping 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after
7621 #undef READ_SHORT_FIELD 7623 #undef READ_SHORT_FIELD
7622 #undef WRITE_SHORT_FIELD 7624 #undef WRITE_SHORT_FIELD
7623 #undef READ_BYTE_FIELD 7625 #undef READ_BYTE_FIELD
7624 #undef WRITE_BYTE_FIELD 7626 #undef WRITE_BYTE_FIELD
7625 #undef NOBARRIER_READ_BYTE_FIELD 7627 #undef NOBARRIER_READ_BYTE_FIELD
7626 #undef NOBARRIER_WRITE_BYTE_FIELD 7628 #undef NOBARRIER_WRITE_BYTE_FIELD
7627 7629
7628 } } // namespace v8::internal 7630 } } // namespace v8::internal
7629 7631
7630 #endif // V8_OBJECTS_INL_H_ 7632 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698