Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
205 // Code range is full or too fragmented.
309 // Code which is part of the code-range does not have its own VirtualMemory.
511 // Allocate executable memory either from code range or from the
705 // We are guarding code pages: the first OS page after the header
717 // We are guarding code pages: the first OS page after the header
724 // We are guarding code pages: the last OS page will be protected as
1251 // The object should not be code or a map.
1597 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1605 const char* table[Code::NUMBER_OF_KINDS] = { NULL };
1608 case Code::name: table[Code::name] = #name; \
1611 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
1612 switch (static_cast<Code::Kind>(i)) {
1632 PrintF("\n Code kind histograms: \n");
1633 for (int i = 0; i < Code::NUMBER_OF_KINDS; i++) {
2332 PrintF("Code comment statistics (\" [ comment-txt : size/ "
2413 // Skip code that was covered with previous comment
2422 // Collects code size statistics:
2423 // - by code kind
2424 // - by code comment
2430 Code* code = Code::cast(obj);
2431 isolate->code_kind_statistics()[code->kind()] += code->Size();
2432 RelocIterator it(code);
2434 const byte* prev_pc = code->instruction_start();
2444 ASSERT(code->instruction_start() <= prev_pc &&
2445 prev_pc <= code->instruction_end());
2446 delta += static_cast<int>(code->instruction_end() - prev_pc);
2740 // We have only code, sequential strings, external strings
2800 Code* code = Code::cast(obj);
2801 isolate->code_kind_statistics()[code->kind()] += code->Size();