OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 11058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11069 PrintF(out, "major_key = %s\n", | 11069 PrintF(out, "major_key = %s\n", |
11070 CodeStub::MajorName(CodeStub::GetMajorKey(this), true)); | 11070 CodeStub::MajorName(CodeStub::GetMajorKey(this), true)); |
11071 } | 11071 } |
11072 if (is_inline_cache_stub()) { | 11072 if (is_inline_cache_stub()) { |
11073 PrintF(out, "ic_state = %s\n", ICState2String(ic_state())); | 11073 PrintF(out, "ic_state = %s\n", ICState2String(ic_state())); |
11074 PrintExtraICState(out, kind(), needs_extended_extra_ic_state(kind()) ? | 11074 PrintExtraICState(out, kind(), needs_extended_extra_ic_state(kind()) ? |
11075 extended_extra_ic_state() : extra_ic_state()); | 11075 extended_extra_ic_state() : extra_ic_state()); |
11076 if (ic_state() == MONOMORPHIC) { | 11076 if (ic_state() == MONOMORPHIC) { |
11077 PrintF(out, "type = %s\n", StubType2String(type())); | 11077 PrintF(out, "type = %s\n", StubType2String(type())); |
11078 } | 11078 } |
11079 if (is_call_stub() || is_keyed_call_stub()) { | |
11080 PrintF(out, "argc = %d\n", arguments_count()); | |
11081 } | |
11082 if (is_compare_ic_stub()) { | 11079 if (is_compare_ic_stub()) { |
11083 ASSERT(major_key() == CodeStub::CompareIC); | 11080 ASSERT(major_key() == CodeStub::CompareIC); |
11084 CompareIC::State left_state, right_state, handler_state; | 11081 CompareIC::State left_state, right_state, handler_state; |
11085 Token::Value op; | 11082 Token::Value op; |
11086 ICCompareStub::DecodeMinorKey(stub_info(), &left_state, &right_state, | 11083 ICCompareStub::DecodeMinorKey(stub_info(), &left_state, &right_state, |
11087 &handler_state, &op); | 11084 &handler_state, &op); |
11088 PrintF(out, "compare_state = %s*%s -> %s\n", | 11085 PrintF(out, "compare_state = %s*%s -> %s\n", |
11089 CompareIC::GetStateName(left_state), | 11086 CompareIC::GetStateName(left_state), |
11090 CompareIC::GetStateName(right_state), | 11087 CompareIC::GetStateName(right_state), |
11091 CompareIC::GetStateName(handler_state)); | 11088 CompareIC::GetStateName(handler_state)); |
(...skipping 5386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16478 #define ERROR_MESSAGES_TEXTS(C, T) T, | 16475 #define ERROR_MESSAGES_TEXTS(C, T) T, |
16479 static const char* error_messages_[] = { | 16476 static const char* error_messages_[] = { |
16480 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) | 16477 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) |
16481 }; | 16478 }; |
16482 #undef ERROR_MESSAGES_TEXTS | 16479 #undef ERROR_MESSAGES_TEXTS |
16483 return error_messages_[reason]; | 16480 return error_messages_[reason]; |
16484 } | 16481 } |
16485 | 16482 |
16486 | 16483 |
16487 } } // namespace v8::internal | 16484 } } // namespace v8::internal |
OLD | NEW |