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

Side by Side Diff: src/heap.h

Issue 9460004: Fix redefining of attributes on aliased arguments. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Andreas Rossberg. Created 8 years, 10 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/elements.cc ('k') | src/heap.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 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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 634
635 // Allocates an empty PolymorphicCodeCache. 635 // Allocates an empty PolymorphicCodeCache.
636 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache(); 636 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache();
637 637
638 // Allocates a pre-tenured empty AccessorPair. 638 // Allocates a pre-tenured empty AccessorPair.
639 MUST_USE_RESULT MaybeObject* AllocateAccessorPair(); 639 MUST_USE_RESULT MaybeObject* AllocateAccessorPair();
640 640
641 // Allocates an empty TypeFeedbackInfo. 641 // Allocates an empty TypeFeedbackInfo.
642 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); 642 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo();
643 643
644 // Allocates an AliasedArgumentsEntry.
645 MUST_USE_RESULT MaybeObject* AllocateAliasedArgumentsEntry(int slot);
646
644 // Clear the Instanceof cache (used when a prototype changes). 647 // Clear the Instanceof cache (used when a prototype changes).
645 inline void ClearInstanceofCache(); 648 inline void ClearInstanceofCache();
646 649
647 // Allocates and fully initializes a String. There are two String 650 // Allocates and fully initializes a String. There are two String
648 // encodings: ASCII and two byte. One should choose between the three string 651 // encodings: ASCII and two byte. One should choose between the three string
649 // allocation functions based on the encoding of the string buffer used to 652 // allocation functions based on the encoding of the string buffer used to
650 // initialized the string. 653 // initialized the string.
651 // - ...FromAscii initializes the string from a buffer that is ASCII 654 // - ...FromAscii initializes the string from a buffer that is ASCII
652 // encoded (it does not check that the buffer is ASCII encoded) and the 655 // encoded (it does not check that the buffer is ASCII encoded) and the
653 // result will be ASCII encoded. 656 // result will be ASCII encoded.
(...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2654 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2652 2655
2653 private: 2656 private:
2654 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2657 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2655 }; 2658 };
2656 #endif // DEBUG || LIVE_OBJECT_LIST 2659 #endif // DEBUG || LIVE_OBJECT_LIST
2657 2660
2658 } } // namespace v8::internal 2661 } } // namespace v8::internal
2659 2662
2660 #endif // V8_HEAP_H_ 2663 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698