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

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

Issue 862923002: CHECK that FunctionTemplates are not modified after first instantiation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/objects-printer.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 5618 matching lines...) Expand 10 before | Expand all | Expand 10 after
5629 kHiddenPrototypeBit) 5629 kHiddenPrototypeBit)
5630 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit) 5630 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit)
5631 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check, 5631 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check,
5632 kNeedsAccessCheckBit) 5632 kNeedsAccessCheckBit)
5633 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype, 5633 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype,
5634 kReadOnlyPrototypeBit) 5634 kReadOnlyPrototypeBit)
5635 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype, 5635 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype,
5636 kRemovePrototypeBit) 5636 kRemovePrototypeBit)
5637 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache, 5637 BOOL_ACCESSORS(FunctionTemplateInfo, flag, do_not_cache,
5638 kDoNotCacheBit) 5638 kDoNotCacheBit)
5639 BOOL_ACCESSORS(FunctionTemplateInfo, flag, instantiated, kInstantiatedBit)
5639 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 5640 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
5640 kIsExpressionBit) 5641 kIsExpressionBit)
5641 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 5642 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
5642 kIsTopLevelBit) 5643 kIsTopLevelBit)
5643 5644
5644 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, allows_lazy_compilation, 5645 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, allows_lazy_compilation,
5645 kAllowLazyCompilation) 5646 kAllowLazyCompilation)
5646 BOOL_ACCESSORS(SharedFunctionInfo, 5647 BOOL_ACCESSORS(SharedFunctionInfo,
5647 compiler_hints, 5648 compiler_hints,
5648 allows_lazy_compilation_without_context, 5649 allows_lazy_compilation_without_context,
(...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after
7517 #undef READ_SHORT_FIELD 7518 #undef READ_SHORT_FIELD
7518 #undef WRITE_SHORT_FIELD 7519 #undef WRITE_SHORT_FIELD
7519 #undef READ_BYTE_FIELD 7520 #undef READ_BYTE_FIELD
7520 #undef WRITE_BYTE_FIELD 7521 #undef WRITE_BYTE_FIELD
7521 #undef NOBARRIER_READ_BYTE_FIELD 7522 #undef NOBARRIER_READ_BYTE_FIELD
7522 #undef NOBARRIER_WRITE_BYTE_FIELD 7523 #undef NOBARRIER_WRITE_BYTE_FIELD
7523 7524
7524 } } // namespace v8::internal 7525 } } // namespace v8::internal
7525 7526
7526 #endif // V8_OBJECTS_INL_H_ 7527 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698