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

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

Issue 707463002: Reland "Optimize function across closures." (again). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 6 years, 1 month 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.cc ('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 5498 matching lines...) Expand 10 before | Expand all | Expand 10 after
5509 kReadOnlyPrototypeBit) 5509 kReadOnlyPrototypeBit)
5510 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype, 5510 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype,
5511 kRemovePrototypeBit) 5511 kRemovePrototypeBit)
5512 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache, 5512 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache,
5513 kDoNotCacheBit) 5513 kDoNotCacheBit)
5514 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 5514 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
5515 kIsExpressionBit) 5515 kIsExpressionBit)
5516 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 5516 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
5517 kIsTopLevelBit) 5517 kIsTopLevelBit)
5518 5518
5519 BOOL_ACCESSORS(SharedFunctionInfo, 5519 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, optimize_next_closure,
5520 compiler_hints, 5520 kOptimizeNextClosure)
5521 allows_lazy_compilation, 5521 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, allows_lazy_compilation,
5522 kAllowLazyCompilation) 5522 kAllowLazyCompilation)
5523 BOOL_ACCESSORS(SharedFunctionInfo, 5523 BOOL_ACCESSORS(SharedFunctionInfo,
5524 compiler_hints, 5524 compiler_hints,
5525 allows_lazy_compilation_without_context, 5525 allows_lazy_compilation_without_context,
5526 kAllowLazyCompilationWithoutContext) 5526 kAllowLazyCompilationWithoutContext)
5527 BOOL_ACCESSORS(SharedFunctionInfo, 5527 BOOL_ACCESSORS(SharedFunctionInfo,
5528 compiler_hints, 5528 compiler_hints,
5529 uses_arguments, 5529 uses_arguments,
5530 kUsesArguments) 5530 kUsesArguments)
5531 BOOL_ACCESSORS(SharedFunctionInfo, 5531 BOOL_ACCESSORS(SharedFunctionInfo,
(...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after
7339 #undef READ_SHORT_FIELD 7339 #undef READ_SHORT_FIELD
7340 #undef WRITE_SHORT_FIELD 7340 #undef WRITE_SHORT_FIELD
7341 #undef READ_BYTE_FIELD 7341 #undef READ_BYTE_FIELD
7342 #undef WRITE_BYTE_FIELD 7342 #undef WRITE_BYTE_FIELD
7343 #undef NOBARRIER_READ_BYTE_FIELD 7343 #undef NOBARRIER_READ_BYTE_FIELD
7344 #undef NOBARRIER_WRITE_BYTE_FIELD 7344 #undef NOBARRIER_WRITE_BYTE_FIELD
7345 7345
7346 } } // namespace v8::internal 7346 } } // namespace v8::internal
7347 7347
7348 #endif // V8_OBJECTS_INL_H_ 7348 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698