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

Side by Side Diff: src/objects.cc

Issue 115744: This patch much improves our tracking of whether function is... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 4841 matching lines...) Expand 10 before | Expand all | Expand 10 after
4852 case CALL_IC: return "CALL_IC"; 4852 case CALL_IC: return "CALL_IC";
4853 } 4853 }
4854 UNREACHABLE(); 4854 UNREACHABLE();
4855 return NULL; 4855 return NULL;
4856 } 4856 }
4857 4857
4858 4858
4859 const char* Code::ICState2String(InlineCacheState state) { 4859 const char* Code::ICState2String(InlineCacheState state) {
4860 switch (state) { 4860 switch (state) {
4861 case UNINITIALIZED: return "UNINITIALIZED"; 4861 case UNINITIALIZED: return "UNINITIALIZED";
4862 case UNINITIALIZED_IN_LOOP: return "UNINITIALIZED_IN_LOOP";
4863 case PREMONOMORPHIC: return "PREMONOMORPHIC"; 4862 case PREMONOMORPHIC: return "PREMONOMORPHIC";
4864 case MONOMORPHIC: return "MONOMORPHIC"; 4863 case MONOMORPHIC: return "MONOMORPHIC";
4865 case MONOMORPHIC_PROTOTYPE_FAILURE: return "MONOMORPHIC_PROTOTYPE_FAILURE"; 4864 case MONOMORPHIC_PROTOTYPE_FAILURE: return "MONOMORPHIC_PROTOTYPE_FAILURE";
4866 case MEGAMORPHIC: return "MEGAMORPHIC"; 4865 case MEGAMORPHIC: return "MEGAMORPHIC";
4867 case DEBUG_BREAK: return "DEBUG_BREAK"; 4866 case DEBUG_BREAK: return "DEBUG_BREAK";
4868 case DEBUG_PREPARE_STEP_IN: return "DEBUG_PREPARE_STEP_IN"; 4867 case DEBUG_PREPARE_STEP_IN: return "DEBUG_PREPARE_STEP_IN";
4869 } 4868 }
4870 UNREACHABLE(); 4869 UNREACHABLE();
4871 return NULL; 4870 return NULL;
4872 } 4871 }
(...skipping 2588 matching lines...) Expand 10 before | Expand all | Expand 10 after
7461 // No break point. 7460 // No break point.
7462 if (break_point_objects()->IsUndefined()) return 0; 7461 if (break_point_objects()->IsUndefined()) return 0;
7463 // Single beak point. 7462 // Single beak point.
7464 if (!break_point_objects()->IsFixedArray()) return 1; 7463 if (!break_point_objects()->IsFixedArray()) return 1;
7465 // Multiple break points. 7464 // Multiple break points.
7466 return FixedArray::cast(break_point_objects())->length(); 7465 return FixedArray::cast(break_point_objects())->length();
7467 } 7466 }
7468 #endif 7467 #endif
7469 7468
7470 } } // namespace v8::internal 7469 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698