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

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

Issue 699143002: Revert "Optimize function across closures." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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.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 5475 matching lines...) Expand 10 before | Expand all | Expand 10 after
5486 kReadOnlyPrototypeBit) 5486 kReadOnlyPrototypeBit)
5487 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype, 5487 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype,
5488 kRemovePrototypeBit) 5488 kRemovePrototypeBit)
5489 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache, 5489 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache,
5490 kDoNotCacheBit) 5490 kDoNotCacheBit)
5491 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 5491 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
5492 kIsExpressionBit) 5492 kIsExpressionBit)
5493 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 5493 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
5494 kIsTopLevelBit) 5494 kIsTopLevelBit)
5495 5495
5496 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, optimize_next_closure, 5496 BOOL_ACCESSORS(SharedFunctionInfo,
5497 kOptimizeNextClosure) 5497 compiler_hints,
5498 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, allows_lazy_compilation, 5498 allows_lazy_compilation,
5499 kAllowLazyCompilation) 5499 kAllowLazyCompilation)
5500 BOOL_ACCESSORS(SharedFunctionInfo, 5500 BOOL_ACCESSORS(SharedFunctionInfo,
5501 compiler_hints, 5501 compiler_hints,
5502 allows_lazy_compilation_without_context, 5502 allows_lazy_compilation_without_context,
5503 kAllowLazyCompilationWithoutContext) 5503 kAllowLazyCompilationWithoutContext)
5504 BOOL_ACCESSORS(SharedFunctionInfo, 5504 BOOL_ACCESSORS(SharedFunctionInfo,
5505 compiler_hints, 5505 compiler_hints,
5506 uses_arguments, 5506 uses_arguments,
5507 kUsesArguments) 5507 kUsesArguments)
5508 BOOL_ACCESSORS(SharedFunctionInfo, 5508 BOOL_ACCESSORS(SharedFunctionInfo,
(...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after
7316 #undef READ_SHORT_FIELD 7316 #undef READ_SHORT_FIELD
7317 #undef WRITE_SHORT_FIELD 7317 #undef WRITE_SHORT_FIELD
7318 #undef READ_BYTE_FIELD 7318 #undef READ_BYTE_FIELD
7319 #undef WRITE_BYTE_FIELD 7319 #undef WRITE_BYTE_FIELD
7320 #undef NOBARRIER_READ_BYTE_FIELD 7320 #undef NOBARRIER_READ_BYTE_FIELD
7321 #undef NOBARRIER_WRITE_BYTE_FIELD 7321 #undef NOBARRIER_WRITE_BYTE_FIELD
7322 7322
7323 } } // namespace v8::internal 7323 } } // namespace v8::internal
7324 7324
7325 #endif // V8_OBJECTS_INL_H_ 7325 #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