Home | History | Annotate | Download | only in src

Lines Matching defs:code

6 //     * Redistributions of source code must retain the above copyright
222 // Code range is full or too fragmented.
312 // space, and one for code space.
1183 // The object should not be code or a map.
1355 static int code_kind_statistics[Code::NUMBER_OF_KINDS];
1359 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1366 const char* table[Code::NUMBER_OF_KINDS];
1369 case Code::name: table[Code::name] = #name; \
1372 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1373 switch (static_cast<Code::Kind>(i)) {
1387 PrintF("\n Code kind histograms: \n");
1388 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1987 PrintF("Code comment statistics (\" [ comment-txt : size/ "
2061 // Skip code that was covered with previous comment
2070 // Collects code size statistics:
2071 // - by code kind
2072 // - by code comment
2077 Code* code = Code::cast(obj);
2078 code_kind_statistics[code->kind()] += code->Size();
2079 code);
2081 const byte* prev_pc = code->instruction_start();
2091 ASSERT(code->instruction_start() <= prev_pc &&
2092 prev_pc <= code->relocation_start());
2093 delta += static_cast<int>(code->relocation_start() - prev_pc);
2663 // We only have code, sequential strings, or fixed arrays in large
2691 // We only have code, sequential strings, or fixed arrays in large
2779 // We have only code, sequential strings, external strings
2844 Code* code = Code::cast(obj);
2845 code_kind_statistics[code->kind()] += code->Size();