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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
===================================================================
--- src/objects.h (revision 331)
+++ src/objects.h (working copy)
@@ -2342,14 +2342,14 @@
Object* UpdateCodeCache(String* name, Code* code);
// Returns the found code or undefined if absent.
- inline Object* FindInCodeCache(String* name, Code::Flags flags);
+ Object* FindInCodeCache(String* name, Code::Flags flags);
- // Returns the found code or undefined if absent. Also returns the
- // index at which the code was found or -1 if absent.
- Object* FindIndexInCodeCache(String* name, Code::Flags flags, int* index);
+ // Returns the non-negative index of the code object if it is in the
+ // cache and -1 otherwise.
+ int IndexInCodeCache(Code* code);
// Removes a code object from the code cache at the given index.
- inline void RemoveFromCodeCache(int index);
+ void RemoveFromCodeCache(int index);
// Dispatched behavior.
void MapIterateBody(ObjectVisitor* v);
« 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