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

Side by Side Diff: src/heap.h

Issue 35413006: Correct handling of arrays with callbacks in the prototype chain. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE (actually small fix to previous rebase) Created 7 years, 1 month 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 | « no previous file | src/heap.cc » ('j') | test/mjsunit/getters-on-elements.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 760
761 // Allocates an empty TypeFeedbackInfo. 761 // Allocates an empty TypeFeedbackInfo.
762 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); 762 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo();
763 763
764 // Allocates an AliasedArgumentsEntry. 764 // Allocates an AliasedArgumentsEntry.
765 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot); 765 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot);
766 766
767 // Clear the Instanceof cache (used when a prototype changes). 767 // Clear the Instanceof cache (used when a prototype changes).
768 inline void ClearInstanceofCache(); 768 inline void ClearInstanceofCache();
769 769
770 // This is expensive, only used when setting callbacks on objects.
771 void ClearAllKeyedStoreICs();
772
770 // For use during bootup. 773 // For use during bootup.
771 void RepairFreeListsAfterBoot(); 774 void RepairFreeListsAfterBoot();
772 775
773 // Allocates and fully initializes a String. There are two String 776 // Allocates and fully initializes a String. There are two String
774 // encodings: ASCII and two byte. One should choose between the three string 777 // encodings: ASCII and two byte. One should choose between the three string
775 // allocation functions based on the encoding of the string buffer used to 778 // allocation functions based on the encoding of the string buffer used to
776 // initialized the string. 779 // initialized the string.
777 // - ...FromAscii initializes the string from a buffer that is ASCII 780 // - ...FromAscii initializes the string from a buffer that is ASCII
778 // encoded (it does not check that the buffer is ASCII encoded) and the 781 // encoded (it does not check that the buffer is ASCII encoded) and the
779 // result will be ASCII encoded. 782 // result will be ASCII encoded.
(...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after
3076 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3079 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3077 3080
3078 private: 3081 private:
3079 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3082 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3080 }; 3083 };
3081 #endif // DEBUG 3084 #endif // DEBUG
3082 3085
3083 } } // namespace v8::internal 3086 } } // namespace v8::internal
3084 3087
3085 #endif // V8_HEAP_H_ 3088 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | test/mjsunit/getters-on-elements.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698