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

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

Issue 755173002: Partially revert "Optimize function across closures." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/runtime-profiler.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 5594 matching lines...) Expand 10 before | Expand all | Expand 10 after
5605 kReadOnlyPrototypeBit) 5605 kReadOnlyPrototypeBit)
5606 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype, 5606 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype,
5607 kRemovePrototypeBit) 5607 kRemovePrototypeBit)
5608 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache, 5608 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache,
5609 kDoNotCacheBit) 5609 kDoNotCacheBit)
5610 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 5610 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
5611 kIsExpressionBit) 5611 kIsExpressionBit)
5612 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 5612 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
5613 kIsTopLevelBit) 5613 kIsTopLevelBit)
5614 5614
5615 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, optimize_next_closure,
5616 kOptimizeNextClosure)
5617 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, allows_lazy_compilation, 5615 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, allows_lazy_compilation,
5618 kAllowLazyCompilation) 5616 kAllowLazyCompilation)
5619 BOOL_ACCESSORS(SharedFunctionInfo, 5617 BOOL_ACCESSORS(SharedFunctionInfo,
5620 compiler_hints, 5618 compiler_hints,
5621 allows_lazy_compilation_without_context, 5619 allows_lazy_compilation_without_context,
5622 kAllowLazyCompilationWithoutContext) 5620 kAllowLazyCompilationWithoutContext)
5623 BOOL_ACCESSORS(SharedFunctionInfo, 5621 BOOL_ACCESSORS(SharedFunctionInfo,
5624 compiler_hints, 5622 compiler_hints,
5625 uses_arguments, 5623 uses_arguments,
5626 kUsesArguments) 5624 kUsesArguments)
(...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after
7465 #undef READ_SHORT_FIELD 7463 #undef READ_SHORT_FIELD
7466 #undef WRITE_SHORT_FIELD 7464 #undef WRITE_SHORT_FIELD
7467 #undef READ_BYTE_FIELD 7465 #undef READ_BYTE_FIELD
7468 #undef WRITE_BYTE_FIELD 7466 #undef WRITE_BYTE_FIELD
7469 #undef NOBARRIER_READ_BYTE_FIELD 7467 #undef NOBARRIER_READ_BYTE_FIELD
7470 #undef NOBARRIER_WRITE_BYTE_FIELD 7468 #undef NOBARRIER_WRITE_BYTE_FIELD
7471 7469
7472 } } // namespace v8::internal 7470 } } // namespace v8::internal
7473 7471
7474 #endif // V8_OBJECTS_INL_H_ 7472 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698