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

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

Issue 2481163002: Assign unique IDs to FunctionLiterals (Closed)
Patch Set: updates Created 4 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
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 5975 matching lines...) Expand 10 before | Expand all | Expand 10 after
5986 5986
5987 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex) 5987 SMI_ACCESSORS(BreakPointInfo, source_position, kSourcePositionIndex)
5988 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) 5988 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex)
5989 5989
5990 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) 5990 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset)
5991 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray, 5991 ACCESSORS(SharedFunctionInfo, optimized_code_map, FixedArray,
5992 kOptimizedCodeMapOffset) 5992 kOptimizedCodeMapOffset)
5993 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) 5993 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset)
5994 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata, 5994 ACCESSORS(SharedFunctionInfo, feedback_metadata, TypeFeedbackMetadata,
5995 kFeedbackMetadataOffset) 5995 kFeedbackMetadataOffset)
5996 SMI_ACCESSORS(SharedFunctionInfo, function_literal_id, kFunctionLiteralIdOffset)
5996 #if TRACE_MAPS 5997 #if TRACE_MAPS
5997 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) 5998 SMI_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset)
5998 #endif 5999 #endif
5999 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, 6000 ACCESSORS(SharedFunctionInfo, instance_class_name, Object,
6000 kInstanceClassNameOffset) 6001 kInstanceClassNameOffset)
6001 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) 6002 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset)
6002 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) 6003 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset)
6003 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) 6004 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset)
6004 ACCESSORS(SharedFunctionInfo, function_identifier, Object, 6005 ACCESSORS(SharedFunctionInfo, function_identifier, Object,
6005 kFunctionIdentifierOffset) 6006 kFunctionIdentifierOffset)
(...skipping 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
8435 #undef WRITE_INT64_FIELD 8436 #undef WRITE_INT64_FIELD
8436 #undef READ_BYTE_FIELD 8437 #undef READ_BYTE_FIELD
8437 #undef WRITE_BYTE_FIELD 8438 #undef WRITE_BYTE_FIELD
8438 #undef NOBARRIER_READ_BYTE_FIELD 8439 #undef NOBARRIER_READ_BYTE_FIELD
8439 #undef NOBARRIER_WRITE_BYTE_FIELD 8440 #undef NOBARRIER_WRITE_BYTE_FIELD
8440 8441
8441 } // namespace internal 8442 } // namespace internal
8442 } // namespace v8 8443 } // namespace v8
8443 8444
8444 #endif // V8_OBJECTS_INL_H_ 8445 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/parsing/parse-info.h » ('j') | src/parsing/parser-base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698