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

Side by Side Diff: src/objects.cc

Issue 7869009: Remove in-loop tracking for call ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 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 | « src/objects.h ('k') | src/objects-inl.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 7129 matching lines...) Expand 10 before | Expand all | Expand 10 after
7140 PrintF(out, "extra_ic_state = %d\n", extra); 7140 PrintF(out, "extra_ic_state = %d\n", extra);
7141 } 7141 }
7142 } 7142 }
7143 7143
7144 7144
7145 void Code::Disassemble(const char* name, FILE* out) { 7145 void Code::Disassemble(const char* name, FILE* out) {
7146 PrintF(out, "kind = %s\n", Kind2String(kind())); 7146 PrintF(out, "kind = %s\n", Kind2String(kind()));
7147 if (is_inline_cache_stub()) { 7147 if (is_inline_cache_stub()) {
7148 PrintF(out, "ic_state = %s\n", ICState2String(ic_state())); 7148 PrintF(out, "ic_state = %s\n", ICState2String(ic_state()));
7149 PrintExtraICState(out, kind(), extra_ic_state()); 7149 PrintExtraICState(out, kind(), extra_ic_state());
7150 PrintF(out, "ic_in_loop = %d\n", ic_in_loop() == IN_LOOP);
7151 if (ic_state() == MONOMORPHIC) { 7150 if (ic_state() == MONOMORPHIC) {
7152 PrintF(out, "type = %s\n", PropertyType2String(type())); 7151 PrintF(out, "type = %s\n", PropertyType2String(type()));
7153 } 7152 }
7154 if (is_call_stub() || is_keyed_call_stub()) { 7153 if (is_call_stub() || is_keyed_call_stub()) {
7155 PrintF(out, "argc = %d\n", arguments_count()); 7154 PrintF(out, "argc = %d\n", arguments_count());
7156 } 7155 }
7157 } 7156 }
7158 if ((name != NULL) && (name[0] != '\0')) { 7157 if ((name != NULL) && (name[0] != '\0')) {
7159 PrintF(out, "name = %s\n", name); 7158 PrintF(out, "name = %s\n", name);
7160 } 7159 }
(...skipping 4412 matching lines...) Expand 10 before | Expand all | Expand 10 after
11573 if (break_point_objects()->IsUndefined()) return 0; 11572 if (break_point_objects()->IsUndefined()) return 0;
11574 // Single break point. 11573 // Single break point.
11575 if (!break_point_objects()->IsFixedArray()) return 1; 11574 if (!break_point_objects()->IsFixedArray()) return 1;
11576 // Multiple break points. 11575 // Multiple break points.
11577 return FixedArray::cast(break_point_objects())->length(); 11576 return FixedArray::cast(break_point_objects())->length();
11578 } 11577 }
11579 #endif 11578 #endif
11580 11579
11581 11580
11582 } } // namespace v8::internal 11581 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698