OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 buffer[length()] = 0; | 580 buffer[length()] = 0; |
581 return buffer; | 581 return buffer; |
582 } | 582 } |
583 | 583 |
584 | 584 |
585 void JSProxy::JSProxyPrint(FILE* out) { | 585 void JSProxy::JSProxyPrint(FILE* out) { |
586 HeapObject::PrintHeader(out, "JSProxy"); | 586 HeapObject::PrintHeader(out, "JSProxy"); |
587 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map())); | 587 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map())); |
588 PrintF(out, " - handler = "); | 588 PrintF(out, " - handler = "); |
589 handler()->Print(out); | 589 handler()->Print(out); |
| 590 PrintF(out, " - hash = "); |
| 591 hash()->Print(out); |
590 PrintF(out, "\n"); | 592 PrintF(out, "\n"); |
591 } | 593 } |
592 | 594 |
593 | 595 |
594 void JSFunctionProxy::JSFunctionProxyPrint(FILE* out) { | 596 void JSFunctionProxy::JSFunctionProxyPrint(FILE* out) { |
595 HeapObject::PrintHeader(out, "JSFunctionProxy"); | 597 HeapObject::PrintHeader(out, "JSFunctionProxy"); |
596 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map())); | 598 PrintF(out, " - map = 0x%p\n", reinterpret_cast<void*>(map())); |
597 PrintF(out, " - handler = "); | 599 PrintF(out, " - handler = "); |
598 handler()->Print(out); | 600 handler()->Print(out); |
599 PrintF(out, " - call_trap = "); | 601 PrintF(out, " - call_trap = "); |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 desc.Print(out); | 893 desc.Print(out); |
892 } | 894 } |
893 PrintF(out, "\n"); | 895 PrintF(out, "\n"); |
894 } | 896 } |
895 | 897 |
896 | 898 |
897 #endif // OBJECT_PRINT | 899 #endif // OBJECT_PRINT |
898 | 900 |
899 | 901 |
900 } } // namespace v8::internal | 902 } } // namespace v8::internal |
OLD | NEW |