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

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

Issue 62146: Add name inference for anonymous functions to facilitate debugging and profiling of JS code. (Closed)
Patch Set: updated v8_base_arm project Created 11 years, 8 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.cc ('k') | src/prettyprinter.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2059 matching lines...) Expand 10 before | Expand all | Expand 10 after
2070 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) 2070 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex)
2071 2071
2072 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) 2072 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset)
2073 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, 2073 ACCESSORS(SharedFunctionInfo, instance_class_name, Object,
2074 kInstanceClassNameOffset) 2074 kInstanceClassNameOffset)
2075 ACCESSORS(SharedFunctionInfo, function_data, Object, 2075 ACCESSORS(SharedFunctionInfo, function_data, Object,
2076 kExternalReferenceDataOffset) 2076 kExternalReferenceDataOffset)
2077 ACCESSORS(SharedFunctionInfo, lazy_load_data, Object, kLazyLoadDataOffset) 2077 ACCESSORS(SharedFunctionInfo, lazy_load_data, Object, kLazyLoadDataOffset)
2078 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) 2078 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset)
2079 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) 2079 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset)
2080 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset)
2080 2081
2081 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, 2082 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype,
2082 kHiddenPrototypeBit) 2083 kHiddenPrototypeBit)
2083 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit) 2084 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit)
2084 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check, 2085 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check,
2085 kNeedsAccessCheckBit) 2086 kNeedsAccessCheckBit)
2086 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 2087 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
2087 kIsExpressionBit) 2088 kIsExpressionBit)
2088 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 2089 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
2089 kIsTopLevelBit) 2090 kIsTopLevelBit)
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
2589 #undef WRITE_INT_FIELD 2590 #undef WRITE_INT_FIELD
2590 #undef READ_SHORT_FIELD 2591 #undef READ_SHORT_FIELD
2591 #undef WRITE_SHORT_FIELD 2592 #undef WRITE_SHORT_FIELD
2592 #undef READ_BYTE_FIELD 2593 #undef READ_BYTE_FIELD
2593 #undef WRITE_BYTE_FIELD 2594 #undef WRITE_BYTE_FIELD
2594 2595
2595 2596
2596 } } // namespace v8::internal 2597 } } // namespace v8::internal
2597 2598
2598 #endif // V8_OBJECTS_INL_H_ 2599 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698