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

Side by Side Diff: src/objects-debug.cc

Issue 4456002: Direct call API functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 1 month 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 PrintF("\n - getter: "); 990 PrintF("\n - getter: ");
991 getter()->ShortPrint(); 991 getter()->ShortPrint();
992 PrintF("\n - setter: "); 992 PrintF("\n - setter: ");
993 setter()->ShortPrint(); 993 setter()->ShortPrint();
994 PrintF("\n - name: "); 994 PrintF("\n - name: ");
995 name()->ShortPrint(); 995 name()->ShortPrint();
996 PrintF("\n - data: "); 996 PrintF("\n - data: ");
997 data()->ShortPrint(); 997 data()->ShortPrint();
998 PrintF("\n - flag: "); 998 PrintF("\n - flag: ");
999 flag()->ShortPrint(); 999 flag()->ShortPrint();
1000 PrintF("\n - load_stub_cache: ");
1001 load_stub_cache()->ShortPrint();
1000 } 1002 }
1001 1003
1002 void AccessCheckInfo::AccessCheckInfoVerify() { 1004 void AccessCheckInfo::AccessCheckInfoVerify() {
1003 CHECK(IsAccessCheckInfo()); 1005 CHECK(IsAccessCheckInfo());
1004 VerifyPointer(named_callback()); 1006 VerifyPointer(named_callback());
1005 VerifyPointer(indexed_callback()); 1007 VerifyPointer(indexed_callback());
1006 VerifyPointer(data()); 1008 VerifyPointer(data());
1007 } 1009 }
1008 1010
1009 void AccessCheckInfo::AccessCheckInfoPrint() { 1011 void AccessCheckInfo::AccessCheckInfoPrint() {
(...skipping 29 matching lines...) Expand all
1039 PrintF("\n - enumerator: "); 1041 PrintF("\n - enumerator: ");
1040 enumerator()->ShortPrint(); 1042 enumerator()->ShortPrint();
1041 PrintF("\n - data: "); 1043 PrintF("\n - data: ");
1042 data()->ShortPrint(); 1044 data()->ShortPrint();
1043 } 1045 }
1044 1046
1045 void CallHandlerInfo::CallHandlerInfoVerify() { 1047 void CallHandlerInfo::CallHandlerInfoVerify() {
1046 CHECK(IsCallHandlerInfo()); 1048 CHECK(IsCallHandlerInfo());
1047 VerifyPointer(callback()); 1049 VerifyPointer(callback());
1048 VerifyPointer(data()); 1050 VerifyPointer(data());
1051 VerifyPointer(call_stub_cache());
1049 } 1052 }
1050 1053
1051 void CallHandlerInfo::CallHandlerInfoPrint() { 1054 void CallHandlerInfo::CallHandlerInfoPrint() {
1052 HeapObject::PrintHeader("CallHandlerInfo"); 1055 HeapObject::PrintHeader("CallHandlerInfo");
1053 PrintF("\n - callback: "); 1056 PrintF("\n - callback: ");
1054 callback()->ShortPrint(); 1057 callback()->ShortPrint();
1055 PrintF("\n - data: "); 1058 PrintF("\n - data: ");
1056 data()->ShortPrint(); 1059 data()->ShortPrint();
1060 PrintF("\n - call_stub_cache: ");
1061 call_stub_cache()->ShortPrint();
1057 } 1062 }
1058 1063
1059 void TemplateInfo::TemplateInfoVerify() { 1064 void TemplateInfo::TemplateInfoVerify() {
1060 VerifyPointer(tag()); 1065 VerifyPointer(tag());
1061 VerifyPointer(property_list()); 1066 VerifyPointer(property_list());
1062 } 1067 }
1063 1068
1064 void FunctionTemplateInfo::FunctionTemplateInfoVerify() { 1069 void FunctionTemplateInfo::FunctionTemplateInfoVerify() {
1065 CHECK(IsFunctionTemplateInfo()); 1070 CHECK(IsFunctionTemplateInfo());
1066 TemplateInfoVerify(); 1071 TemplateInfoVerify();
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1393 ASSERT(e->IsUndefined()); 1398 ASSERT(e->IsUndefined());
1394 } 1399 }
1395 } 1400 }
1396 } 1401 }
1397 } 1402 }
1398 1403
1399 1404
1400 #endif // DEBUG 1405 #endif // DEBUG
1401 1406
1402 } } // namespace v8::internal 1407 } } // namespace v8::internal
OLDNEW
« src/ia32/stub-cache-ia32.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698