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

Side by Side Diff: src/ic.h

Issue 160272: X64: Added inline keyed load/store and a bunch of other missing functions. (Closed)
Patch Set: Addressed review comments, and fixed bugs introduced by updating. Created 11 years, 4 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
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/x64/assembler-x64.h » ('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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 return Builtins::builtin(Builtins::KeyedStoreIC_Generic); 380 return Builtins::builtin(Builtins::KeyedStoreIC_Generic);
381 } 381 }
382 static Code* generic_stub() { 382 static Code* generic_stub() {
383 return Builtins::builtin(Builtins::KeyedStoreIC_Generic); 383 return Builtins::builtin(Builtins::KeyedStoreIC_Generic);
384 } 384 }
385 385
386 static void Clear(Address address, Code* target); 386 static void Clear(Address address, Code* target);
387 387
388 // Support for patching the map that is checked in an inlined 388 // Support for patching the map that is checked in an inlined
389 // version of keyed store. 389 // version of keyed store.
390 // The address is the patch point for the IC call
391 // (Assembler::kTargetAddrToReturnAddrDist before the end of
392 // the call/return address).
393 // The map is the new map that the inlined code should check against.
390 static bool PatchInlinedStore(Address address, Object* map); 394 static bool PatchInlinedStore(Address address, Object* map);
391 395
392 friend class IC; 396 friend class IC;
393 }; 397 };
394 398
395 399
396 } } // namespace v8::internal 400 } } // namespace v8::internal
397 401
398 #endif // V8_IC_H_ 402 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698