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

Side by Side Diff: src/objects.h

Issue 2928: Propagate the information that a monomorphic prototype failure has... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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/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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after
2334 2334
2335 // Code cache operations. 2335 // Code cache operations.
2336 2336
2337 // Clears the code cache. 2337 // Clears the code cache.
2338 inline void ClearCodeCache(); 2338 inline void ClearCodeCache();
2339 2339
2340 // Update code cache. 2340 // Update code cache.
2341 Object* UpdateCodeCache(String* name, Code* code); 2341 Object* UpdateCodeCache(String* name, Code* code);
2342 2342
2343 // Returns the found code or undefined if absent. 2343 // Returns the found code or undefined if absent.
2344 Object* FindInCodeCache(String* name, Code::Flags flags); 2344 inline Object* FindInCodeCache(String* name, Code::Flags flags);
2345 2345
2346 // Returns the non-negative index of the code object if it is in the 2346 // Returns the found code or undefined if absent. Also returns the
2347 // cache and -1 otherwise. 2347 // index at which the code was found or -1 if absent.
2348 int IndexInCodeCache(Code* code); 2348 Object* FindIndexInCodeCache(String* name, Code::Flags flags, int* index);
2349 2349
2350 // Removes a code object from the code cache at the given index. 2350 // Removes a code object from the code cache at the given index.
2351 void RemoveFromCodeCache(int index); 2351 inline void RemoveFromCodeCache(int index);
2352 2352
2353 // Dispatched behavior. 2353 // Dispatched behavior.
2354 void MapIterateBody(ObjectVisitor* v); 2354 void MapIterateBody(ObjectVisitor* v);
2355 #ifdef DEBUG 2355 #ifdef DEBUG
2356 void MapPrint(); 2356 void MapPrint();
2357 void MapVerify(); 2357 void MapVerify();
2358 #endif 2358 #endif
2359 2359
2360 // Layout description. 2360 // Layout description.
2361 static const int kInstanceAttributesOffset = HeapObject::kSize; 2361 static const int kInstanceAttributesOffset = HeapObject::kSize;
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
3861 } else { 3861 } else {
3862 value &= ~(1 << bit_position); 3862 value &= ~(1 << bit_position);
3863 } 3863 }
3864 return value; 3864 return value;
3865 } 3865 }
3866 }; 3866 };
3867 3867
3868 } } // namespace v8::internal 3868 } } // namespace v8::internal
3869 3869
3870 #endif // V8_OBJECTS_H_ 3870 #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