Home | History | Annotate | Download | only in src

Lines Matching defs:code

6 //     * Redistributions of source code must retain the above copyright
225 // Code range is full or too fragmented.
322 // space, and one for code space.
378 // Allocate executable memory either from code range or from the
1369 // The object should not be code or a map.
1545 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1553 const char* table[Code::NUMBER_OF_KINDS] = { NULL };
1556 case Code::name: table[Code::name] = #name; \
1559 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1560 switch (static_cast<Code::Kind>(i)) {
1580 PrintF("\n Code kind histograms: \n");
1581 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
2357 PrintF("Code comment statistics (\" [ comment-txt : size/ "
2438 // Skip code that was covered with previous comment
2447 // Collects code size statistics:
2448 // - by code kind
2449 // - by code comment
2455 Code* code = Code::cast(obj);
2456 isolate->code_kind_statistics()[code->kind()] += code->Size();
2457 RelocIterator it(code);
2459 const byte* prev_pc = code->instruction_start();
2469 ASSERT(code->instruction_start() <= prev_pc &&
2470 prev_pc <= code->instruction_end());
2471 delta += static_cast<int>(code->instruction_end() - prev_pc);
2931 // We only have code, sequential strings, or fixed arrays in large
3069 // We have only code, sequential strings, external strings
3139 Code* code = Code::cast(obj);
3140 isolate->code_kind_statistics()[code->kind()] += code->Size();