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

Side by Side Diff: src/objects.h

Issue 12451003: Make IC patching resilient to flushing of the original target() ic. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 9 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/ic.cc ('k') | src/objects.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 4262 matching lines...) Expand 10 before | Expand all | Expand 10 after
4273 enum StubType { 4273 enum StubType {
4274 NORMAL, 4274 NORMAL,
4275 FIELD, 4275 FIELD,
4276 CONSTANT_FUNCTION, 4276 CONSTANT_FUNCTION,
4277 CALLBACKS, 4277 CALLBACKS,
4278 INTERCEPTOR, 4278 INTERCEPTOR,
4279 MAP_TRANSITION, 4279 MAP_TRANSITION,
4280 NONEXISTENT 4280 NONEXISTENT
4281 }; 4281 };
4282 4282
4283 enum IcFragment {
4284 IC_FRAGMENT,
4285 HANDLER_FRAGMENT
4286 };
4287
4288 enum { 4283 enum {
4289 NUMBER_OF_KINDS = LAST_IC_KIND + 1 4284 NUMBER_OF_KINDS = LAST_IC_KIND + 1
4290 }; 4285 };
4291 4286
4292 typedef int ExtraICState; 4287 typedef int ExtraICState;
4293 4288
4294 static const ExtraICState kNoExtraICState = 0; 4289 static const ExtraICState kNoExtraICState = 0;
4295 4290
4296 #ifdef ENABLE_DISASSEMBLER 4291 #ifdef ENABLE_DISASSEMBLER
4297 // Printing 4292 // Printing
(...skipping 4801 matching lines...) Expand 10 before | Expand all | Expand 10 after
9099 } else { 9094 } else {
9100 value &= ~(1 << bit_position); 9095 value &= ~(1 << bit_position);
9101 } 9096 }
9102 return value; 9097 return value;
9103 } 9098 }
9104 }; 9099 };
9105 9100
9106 } } // namespace v8::internal 9101 } } // namespace v8::internal
9107 9102
9108 #endif // V8_OBJECTS_H_ 9103 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698