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

Side by Side Diff: src/ic.h

Issue 192075: Rename a constant to kCallTargetAddressOffset (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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/ia32/ic-ia32.cc ('k') | src/ic.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-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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 } 383 }
384 static Code* generic_stub() { 384 static Code* generic_stub() {
385 return Builtins::builtin(Builtins::KeyedStoreIC_Generic); 385 return Builtins::builtin(Builtins::KeyedStoreIC_Generic);
386 } 386 }
387 387
388 static void Clear(Address address, Code* target); 388 static void Clear(Address address, Code* target);
389 389
390 // Support for patching the map that is checked in an inlined 390 // Support for patching the map that is checked in an inlined
391 // version of keyed store. 391 // version of keyed store.
392 // The address is the patch point for the IC call 392 // The address is the patch point for the IC call
393 // (Assembler::kPatchReturnSequenceLength before the end of 393 // (Assembler::kCallTargetAddressOffset before the end of
394 // the call/return address). 394 // the call/return address).
395 // The map is the new map that the inlined code should check against. 395 // The map is the new map that the inlined code should check against.
396 static bool PatchInlinedStore(Address address, Object* map); 396 static bool PatchInlinedStore(Address address, Object* map);
397 397
398 friend class IC; 398 friend class IC;
399 }; 399 };
400 400
401 401
402 } } // namespace v8::internal 402 } } // namespace v8::internal
403 403
404 #endif // V8_IC_H_ 404 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698