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

Side by Side Diff: src/objects.h

Issue 2959: Revert revision 331. The propagation of monomorphic prototype failure... (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 2324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2335 2335
2336 // Code cache operations. 2336 // Code cache operations.
2337 2337
2338 // Clears the code cache. 2338 // Clears the code cache.
2339 inline void ClearCodeCache(); 2339 inline void ClearCodeCache();
2340 2340
2341 // Update code cache. 2341 // Update code cache.
2342 Object* UpdateCodeCache(String* name, Code* code); 2342 Object* UpdateCodeCache(String* name, Code* code);
2343 2343
2344 // Returns the found code or undefined if absent. 2344 // Returns the found code or undefined if absent.
2345 inline Object* FindInCodeCache(String* name, Code::Flags flags); 2345 Object* FindInCodeCache(String* name, Code::Flags flags);
2346 2346
2347 // Returns the found code or undefined if absent. Also returns the 2347 // Returns the non-negative index of the code object if it is in the
2348 // index at which the code was found or -1 if absent. 2348 // cache and -1 otherwise.
2349 Object* FindIndexInCodeCache(String* name, Code::Flags flags, int* index); 2349 int IndexInCodeCache(Code* code);
2350 2350
2351 // Removes a code object from the code cache at the given index. 2351 // Removes a code object from the code cache at the given index.
2352 inline void RemoveFromCodeCache(int index); 2352 void RemoveFromCodeCache(int index);
2353 2353
2354 // Dispatched behavior. 2354 // Dispatched behavior.
2355 void MapIterateBody(ObjectVisitor* v); 2355 void MapIterateBody(ObjectVisitor* v);
2356 #ifdef DEBUG 2356 #ifdef DEBUG
2357 void MapPrint(); 2357 void MapPrint();
2358 void MapVerify(); 2358 void MapVerify();
2359 #endif 2359 #endif
2360 2360
2361 // Layout description. 2361 // Layout description.
2362 static const int kInstanceAttributesOffset = HeapObject::kSize; 2362 static const int kInstanceAttributesOffset = HeapObject::kSize;
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
3862 } else { 3862 } else {
3863 value &= ~(1 << bit_position); 3863 value &= ~(1 << bit_position);
3864 } 3864 }
3865 return value; 3865 return value;
3866 } 3866 }
3867 }; 3867 };
3868 3868
3869 } } // namespace v8::internal 3869 } } // namespace v8::internal
3870 3870
3871 #endif // V8_OBJECTS_H_ 3871 #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