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

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

Issue 6964011: Refactor HCheckInstanceType to allow mask/tag tests. (Closed)
Patch Set: Rebased Created 9 years, 7 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
« no previous file with comments | « src/objects.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO"; 407 case SHARED_FUNCTION_INFO_TYPE: return "SHARED_FUNCTION_INFO";
408 case JS_FUNCTION_TYPE: return "JS_FUNCTION"; 408 case JS_FUNCTION_TYPE: return "JS_FUNCTION";
409 case CODE_TYPE: return "CODE"; 409 case CODE_TYPE: return "CODE";
410 case JS_ARRAY_TYPE: return "JS_ARRAY"; 410 case JS_ARRAY_TYPE: return "JS_ARRAY";
411 case JS_REGEXP_TYPE: return "JS_REGEXP"; 411 case JS_REGEXP_TYPE: return "JS_REGEXP";
412 case JS_VALUE_TYPE: return "JS_VALUE"; 412 case JS_VALUE_TYPE: return "JS_VALUE";
413 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; 413 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT";
414 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; 414 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT";
415 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; 415 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY";
416 case PROXY_TYPE: return "PROXY"; 416 case PROXY_TYPE: return "PROXY";
417 case LAST_STRING_TYPE: return "LAST_STRING_TYPE";
418 case JS_MESSAGE_OBJECT_TYPE: return "JS_MESSAGE_OBJECT_TYPE"; 417 case JS_MESSAGE_OBJECT_TYPE: return "JS_MESSAGE_OBJECT_TYPE";
419 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; 418 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME;
420 STRUCT_LIST(MAKE_STRUCT_CASE) 419 STRUCT_LIST(MAKE_STRUCT_CASE)
421 #undef MAKE_STRUCT_CASE 420 #undef MAKE_STRUCT_CASE
422 default: return "UNKNOWN"; 421 default: return "UNKNOWN";
423 } 422 }
424 } 423 }
425 424
426 425
427 void Map::MapPrint(FILE* out) { 426 void Map::MapPrint(FILE* out) {
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 desc.Print(out); 807 desc.Print(out);
809 } 808 }
810 PrintF(out, "\n"); 809 PrintF(out, "\n");
811 } 810 }
812 811
813 812
814 #endif // OBJECT_PRINT 813 #endif // OBJECT_PRINT
815 814
816 815
817 } } // namespace v8::internal 816 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698