Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: src/objects.cc

Issue 159013003: Remove extended_extra_ic_state and extend extra_ic_state instead. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 11073 matching lines...) Expand 10 before | Expand all | Expand 10 after
11084 11084
11085 11085
11086 void Code::Disassemble(const char* name, FILE* out) { 11086 void Code::Disassemble(const char* name, FILE* out) {
11087 PrintF(out, "kind = %s\n", Kind2String(kind())); 11087 PrintF(out, "kind = %s\n", Kind2String(kind()));
11088 if (has_major_key()) { 11088 if (has_major_key()) {
11089 PrintF(out, "major_key = %s\n", 11089 PrintF(out, "major_key = %s\n",
11090 CodeStub::MajorName(CodeStub::GetMajorKey(this), true)); 11090 CodeStub::MajorName(CodeStub::GetMajorKey(this), true));
11091 } 11091 }
11092 if (is_inline_cache_stub()) { 11092 if (is_inline_cache_stub()) {
11093 PrintF(out, "ic_state = %s\n", ICState2String(ic_state())); 11093 PrintF(out, "ic_state = %s\n", ICState2String(ic_state()));
11094 PrintExtraICState(out, kind(), needs_extended_extra_ic_state(kind()) ? 11094 PrintExtraICState(out, kind(), extra_ic_state());
11095 extended_extra_ic_state() : extra_ic_state());
11096 if (ic_state() == MONOMORPHIC) { 11095 if (ic_state() == MONOMORPHIC) {
11097 PrintF(out, "type = %s\n", StubType2String(type())); 11096 PrintF(out, "type = %s\n", StubType2String(type()));
11098 } 11097 }
11099 if (is_compare_ic_stub()) { 11098 if (is_compare_ic_stub()) {
11100 ASSERT(major_key() == CodeStub::CompareIC); 11099 ASSERT(major_key() == CodeStub::CompareIC);
11101 CompareIC::State left_state, right_state, handler_state; 11100 CompareIC::State left_state, right_state, handler_state;
11102 Token::Value op; 11101 Token::Value op;
11103 ICCompareStub::DecodeMinorKey(stub_info(), &left_state, &right_state, 11102 ICCompareStub::DecodeMinorKey(stub_info(), &left_state, &right_state,
11104 &handler_state, &op); 11103 &handler_state, &op);
11105 PrintF(out, "compare_state = %s*%s -> %s\n", 11104 PrintF(out, "compare_state = %s*%s -> %s\n",
(...skipping 5400 matching lines...) Expand 10 before | Expand all | Expand 10 after
16506 #define ERROR_MESSAGES_TEXTS(C, T) T, 16505 #define ERROR_MESSAGES_TEXTS(C, T) T,
16507 static const char* error_messages_[] = { 16506 static const char* error_messages_[] = {
16508 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS) 16507 ERROR_MESSAGES_LIST(ERROR_MESSAGES_TEXTS)
16509 }; 16508 };
16510 #undef ERROR_MESSAGES_TEXTS 16509 #undef ERROR_MESSAGES_TEXTS
16511 return error_messages_[reason]; 16510 return error_messages_[reason];
16512 } 16511 }
16513 16512
16514 16513
16515 } } // namespace v8::internal 16514 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698