Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
5 #include "src/heap/code-stats.h"
7 #include "src/codegen/code-comments.h"
17 // Record code statisitcs.
23 // Log the size of external source code.
32 // Record code+metadata statisitcs.
44 // Record code kind and code comment statistics.
61 // Collects code size statistics:
62 // - code and metadata size
63 // - by code kind (only in debug mode)
64 // - by code comment (only in debug mode)
73 // Collects code size statistics in OldLargeObjectSpace:
74 // - code and metadata size
75 // - by code kind (only in debug mode)
76 // - by code comment (only in debug mode)
87 // Report code kind statistics
99 // Report code and metadata statisitcs
109 // Report code comment statistics
126 // Clear code kind statistics
132 // Clear code comment statistics
192 // Skip code that was covered with previous comment
198 // Collects code comment statistics.
201 // Bytecode objects do not contain RelocInfo. Only process code objects
202 // for code comment statistics.
208 Code code = Code::cast(obj);
209 CodeCommentsIterator cit(code.code_comments(), code.code_comments_size());
219 DCHECK(0 <= prev_pc_offset && prev_pc_offset <= code.InstructionSize());
220 delta += static_cast<int>(code.InstructionSize() - prev_pc_offset);