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

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

Issue 9361026: Count-based profiling for primitive functions (hidden behind a flag) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: more comments Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/runtime.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 // 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 3512 matching lines...) Expand 10 before | Expand all | Expand 10 after
3523 ACCESSORS(SharedFunctionInfo, initial_map, Object, kInitialMapOffset) 3523 ACCESSORS(SharedFunctionInfo, initial_map, Object, kInitialMapOffset)
3524 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, 3524 ACCESSORS(SharedFunctionInfo, instance_class_name, Object,
3525 kInstanceClassNameOffset) 3525 kInstanceClassNameOffset)
3526 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) 3526 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset)
3527 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) 3527 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset)
3528 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) 3528 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset)
3529 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) 3529 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset)
3530 ACCESSORS(SharedFunctionInfo, this_property_assignments, Object, 3530 ACCESSORS(SharedFunctionInfo, this_property_assignments, Object,
3531 kThisPropertyAssignmentsOffset) 3531 kThisPropertyAssignmentsOffset)
3532 3532
3533 SMI_ACCESSORS(SharedFunctionInfo, profiler_ticks, kProfilerTicksOffset)
3534
3533 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, 3535 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype,
3534 kHiddenPrototypeBit) 3536 kHiddenPrototypeBit)
3535 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit) 3537 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit)
3536 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check, 3538 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check,
3537 kNeedsAccessCheckBit) 3539 kNeedsAccessCheckBit)
3538 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype, 3540 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype,
3539 kReadOnlyPrototypeBit) 3541 kReadOnlyPrototypeBit)
3540 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 3542 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
3541 kIsExpressionBit) 3543 kIsExpressionBit)
3542 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 3544 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
4902 #undef WRITE_INT_FIELD 4904 #undef WRITE_INT_FIELD
4903 #undef READ_SHORT_FIELD 4905 #undef READ_SHORT_FIELD
4904 #undef WRITE_SHORT_FIELD 4906 #undef WRITE_SHORT_FIELD
4905 #undef READ_BYTE_FIELD 4907 #undef READ_BYTE_FIELD
4906 #undef WRITE_BYTE_FIELD 4908 #undef WRITE_BYTE_FIELD
4907 4909
4908 4910
4909 } } // namespace v8::internal 4911 } } // namespace v8::internal
4910 4912
4911 #endif // V8_OBJECTS_INL_H_ 4913 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698