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

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

Issue 359733004: Remove kDontInline and simplify compiler hints. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | no next file » | 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 5429 matching lines...) Expand 10 before | Expand all | Expand 10 after
5440 5440
5441 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) 5441 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative)
5442 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, inline_builtin, 5442 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, inline_builtin,
5443 kInlineBuiltin) 5443 kInlineBuiltin)
5444 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, 5444 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints,
5445 name_should_print_as_anonymous, 5445 name_should_print_as_anonymous,
5446 kNameShouldPrintAsAnonymous) 5446 kNameShouldPrintAsAnonymous)
5447 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) 5447 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
5448 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) 5448 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
5449 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) 5449 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
5450 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline)
5451 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) 5450 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache)
5452 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) 5451 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
5453 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) 5452 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator)
5454 5453
5455 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) 5454 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset)
5456 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) 5455 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset)
5457 5456
5458 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset) 5457 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset)
5459 5458
5460 bool Script::HasValidSource() { 5459 bool Script::HasValidSource() {
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
7023 #undef READ_SHORT_FIELD 7022 #undef READ_SHORT_FIELD
7024 #undef WRITE_SHORT_FIELD 7023 #undef WRITE_SHORT_FIELD
7025 #undef READ_BYTE_FIELD 7024 #undef READ_BYTE_FIELD
7026 #undef WRITE_BYTE_FIELD 7025 #undef WRITE_BYTE_FIELD
7027 #undef NOBARRIER_READ_BYTE_FIELD 7026 #undef NOBARRIER_READ_BYTE_FIELD
7028 #undef NOBARRIER_WRITE_BYTE_FIELD 7027 #undef NOBARRIER_WRITE_BYTE_FIELD
7029 7028
7030 } } // namespace v8::internal 7029 } } // namespace v8::internal
7031 7030
7032 #endif // V8_OBJECTS_INL_H_ 7031 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698