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

Side by Side Diff: src/objects-inl.h

Issue 23361014: Never clear debug-stub call ICs. Make a clear distinction between is_debug_stub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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/runtime.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 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 4066 matching lines...) Expand 10 before | Expand all | Expand 10 after
4077 Kind kind = this->kind(); 4077 Kind kind = this->kind();
4078 switch (kind) { 4078 switch (kind) {
4079 #define CASE(name) case name: return true; 4079 #define CASE(name) case name: return true;
4080 IC_KIND_LIST(CASE) 4080 IC_KIND_LIST(CASE)
4081 #undef CASE 4081 #undef CASE
4082 default: return false; 4082 default: return false;
4083 } 4083 }
4084 } 4084 }
4085 4085
4086 4086
4087 bool Code::is_debug_break() { 4087 bool Code::is_debug_stub() {
4088 return ic_state() == DEBUG_STUB && extra_ic_state() == DEBUG_BREAK; 4088 return ic_state() == DEBUG_STUB;
4089 } 4089 }
4090 4090
4091 4091
4092 Code::Flags Code::ComputeFlags(Kind kind, 4092 Code::Flags Code::ComputeFlags(Kind kind,
4093 InlineCacheState ic_state, 4093 InlineCacheState ic_state,
4094 ExtraICState extra_ic_state, 4094 ExtraICState extra_ic_state,
4095 StubType type, 4095 StubType type,
4096 int argc, 4096 int argc,
4097 InlineCacheHolderFlag holder) { 4097 InlineCacheHolderFlag holder) {
4098 ASSERT(argc <= Code::kMaxArguments); 4098 ASSERT(argc <= Code::kMaxArguments);
(...skipping 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after
6257 #undef WRITE_UINT32_FIELD 6257 #undef WRITE_UINT32_FIELD
6258 #undef READ_SHORT_FIELD 6258 #undef READ_SHORT_FIELD
6259 #undef WRITE_SHORT_FIELD 6259 #undef WRITE_SHORT_FIELD
6260 #undef READ_BYTE_FIELD 6260 #undef READ_BYTE_FIELD
6261 #undef WRITE_BYTE_FIELD 6261 #undef WRITE_BYTE_FIELD
6262 6262
6263 6263
6264 } } // namespace v8::internal 6264 } } // namespace v8::internal
6265 6265
6266 #endif // V8_OBJECTS_INL_H_ 6266 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698