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

Side by Side Diff: src/heap.h

Issue 9152001: Introduce a new AccessorPair type for handling JavaScript accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporated review comments Created 8 years, 11 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/factory.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 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 608
609 // Allocates an empty code cache. 609 // Allocates an empty code cache.
610 MUST_USE_RESULT MaybeObject* AllocateCodeCache(); 610 MUST_USE_RESULT MaybeObject* AllocateCodeCache();
611 611
612 // Allocates a serialized scope info. 612 // Allocates a serialized scope info.
613 MUST_USE_RESULT MaybeObject* AllocateScopeInfo(int length); 613 MUST_USE_RESULT MaybeObject* AllocateScopeInfo(int length);
614 614
615 // Allocates an empty PolymorphicCodeCache. 615 // Allocates an empty PolymorphicCodeCache.
616 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache(); 616 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache();
617 617
618 // Allocates a pre-tenured empty AccessorPair.
619 MUST_USE_RESULT MaybeObject* AllocateAccessorPair();
620
618 // Clear the Instanceof cache (used when a prototype changes). 621 // Clear the Instanceof cache (used when a prototype changes).
619 inline void ClearInstanceofCache(); 622 inline void ClearInstanceofCache();
620 623
621 // Allocates and fully initializes a String. There are two String 624 // Allocates and fully initializes a String. There are two String
622 // encodings: ASCII and two byte. One should choose between the three string 625 // encodings: ASCII and two byte. One should choose between the three string
623 // allocation functions based on the encoding of the string buffer used to 626 // allocation functions based on the encoding of the string buffer used to
624 // initialized the string. 627 // initialized the string.
625 // - ...FromAscii initializes the string from a buffer that is ASCII 628 // - ...FromAscii initializes the string from a buffer that is ASCII
626 // encoded (it does not check that the buffer is ASCII encoded) and the 629 // encoded (it does not check that the buffer is ASCII encoded) and the
627 // result will be ASCII encoded. 630 // result will be ASCII encoded.
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
2610 2613
2611 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2614 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2612 }; 2615 };
2613 #endif // DEBUG || LIVE_OBJECT_LIST 2616 #endif // DEBUG || LIVE_OBJECT_LIST
2614 2617
2615 } } // namespace v8::internal 2618 } } // namespace v8::internal
2616 2619
2617 #undef HEAP 2620 #undef HEAP
2618 2621
2619 #endif // V8_HEAP_H_ 2622 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698