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

Side by Side Diff: src/objects.h

Issue 8352003: Handlify upper layers of KeyedLoadIC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments, rebase. Created 9 years, 2 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 4240 matching lines...) Expand 10 before | Expand all | Expand 10 after
4251 4251
4252 // Locate an accessor in the instance descriptor. 4252 // Locate an accessor in the instance descriptor.
4253 AccessorDescriptor* FindAccessor(String* name); 4253 AccessorDescriptor* FindAccessor(String* name);
4254 4254
4255 // Code cache operations. 4255 // Code cache operations.
4256 4256
4257 // Clears the code cache. 4257 // Clears the code cache.
4258 inline void ClearCodeCache(Heap* heap); 4258 inline void ClearCodeCache(Heap* heap);
4259 4259
4260 // Update code cache. 4260 // Update code cache.
4261 static void UpdateCodeCache(Handle<Map> map,
4262 Handle<String> name,
4263 Handle<Code> code);
4261 MUST_USE_RESULT MaybeObject* UpdateCodeCache(String* name, Code* code); 4264 MUST_USE_RESULT MaybeObject* UpdateCodeCache(String* name, Code* code);
4262 4265
4263 // Returns the found code or undefined if absent. 4266 // Returns the found code or undefined if absent.
4264 Object* FindInCodeCache(String* name, Code::Flags flags); 4267 Object* FindInCodeCache(String* name, Code::Flags flags);
4265 4268
4266 // Returns the non-negative index of the code object if it is in the 4269 // Returns the non-negative index of the code object if it is in the
4267 // cache and -1 otherwise. 4270 // cache and -1 otherwise.
4268 int IndexInCodeCache(Object* name, Code* code); 4271 int IndexInCodeCache(Object* name, Code* code);
4269 4272
4270 // Removes a code object from the code cache at the given index. 4273 // Removes a code object from the code cache at the given index.
(...skipping 3383 matching lines...) Expand 10 before | Expand all | Expand 10 after
7654 } else { 7657 } else {
7655 value &= ~(1 << bit_position); 7658 value &= ~(1 << bit_position);
7656 } 7659 }
7657 return value; 7660 return value;
7658 } 7661 }
7659 }; 7662 };
7660 7663
7661 } } // namespace v8::internal 7664 } } // namespace v8::internal
7662 7665
7663 #endif // V8_OBJECTS_H_ 7666 #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