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

Side by Side Diff: src/code-stubs.h

Issue 15735020: trace compare_nil_ic state in --trace-ic output (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
« no previous file with comments | « no previous file | src/code-stubs.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1062
1063 static Types FullCompare() { 1063 static Types FullCompare() {
1064 Types set; 1064 Types set;
1065 set.Add(UNDEFINED); 1065 set.Add(UNDEFINED);
1066 set.Add(NULL_TYPE); 1066 set.Add(NULL_TYPE);
1067 set.Add(UNDETECTABLE); 1067 set.Add(UNDETECTABLE);
1068 return set; 1068 return set;
1069 } 1069 }
1070 1070
1071 void Print(StringStream* stream) const; 1071 void Print(StringStream* stream) const;
1072 void TraceTransition(Types to) const;
1072 }; 1073 };
1073 1074
1074 // At most 6 different types can be distinguished, because the Code object 1075 // At most 6 different types can be distinguished, because the Code object
1075 // only has room for a single byte to hold a set and there are two more 1076 // only has room for a single byte to hold a set and there are two more
1076 // boolean flags we need to store. :-P 1077 // boolean flags we need to store. :-P
1077 STATIC_ASSERT(NUMBER_OF_TYPES <= 6); 1078 STATIC_ASSERT(NUMBER_OF_TYPES <= 6);
1078 1079
1079 CompareNilICStub(EqualityKind kind, NilValue nil, Types types) 1080 CompareNilICStub(EqualityKind kind, NilValue nil, Types types)
1080 : HydrogenCodeStub(CODE_STUB_IS_NOT_MISS), types_(types) { 1081 : HydrogenCodeStub(CODE_STUB_IS_NOT_MISS), types_(types) {
1081 equality_kind_ = kind; 1082 equality_kind_ = kind;
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
1990 1991
1991 // The current function entry hook. 1992 // The current function entry hook.
1992 static FunctionEntryHook entry_hook_; 1993 static FunctionEntryHook entry_hook_;
1993 1994
1994 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 1995 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
1995 }; 1996 };
1996 1997
1997 } } // namespace v8::internal 1998 } } // namespace v8::internal
1998 1999
1999 #endif // V8_CODE_STUBS_H_ 2000 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698