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

Side by Side Diff: src/heap.h

Issue 15012016: small misspelling fixes. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 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/extensions/statistics-extension.cc ('k') | src/ia32/lithium-codegen-ia32.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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 712
713 MUST_USE_RESULT MaybeObject* AllocateJSFunctionProxy(Object* handler, 713 MUST_USE_RESULT MaybeObject* AllocateJSFunctionProxy(Object* handler,
714 Object* call_trap, 714 Object* call_trap,
715 Object* construct_trap, 715 Object* construct_trap,
716 Object* prototype); 716 Object* prototype);
717 717
718 // Reinitialize a JSReceiver into an (empty) JS object of respective type and 718 // Reinitialize a JSReceiver into an (empty) JS object of respective type and
719 // size, but keeping the original prototype. The receiver must have at least 719 // size, but keeping the original prototype. The receiver must have at least
720 // the size of the new object. The object is reinitialized and behaves as an 720 // the size of the new object. The object is reinitialized and behaves as an
721 // object that has been freshly allocated. 721 // object that has been freshly allocated.
722 // Returns failure if an error occured, otherwise object. 722 // Returns failure if an error occurred, otherwise object.
723 MUST_USE_RESULT MaybeObject* ReinitializeJSReceiver(JSReceiver* object, 723 MUST_USE_RESULT MaybeObject* ReinitializeJSReceiver(JSReceiver* object,
724 InstanceType type, 724 InstanceType type,
725 int size); 725 int size);
726 726
727 // Reinitialize an JSGlobalProxy based on a constructor. The object 727 // Reinitialize an JSGlobalProxy based on a constructor. The object
728 // must have the same size as objects allocated using the 728 // must have the same size as objects allocated using the
729 // constructor. The object is reinitialized and behaves as an 729 // constructor. The object is reinitialized and behaves as an
730 // object that has been freshly allocated using the constructor. 730 // object that has been freshly allocated using the constructor.
731 MUST_USE_RESULT MaybeObject* ReinitializeJSGlobalProxy( 731 MUST_USE_RESULT MaybeObject* ReinitializeJSGlobalProxy(
732 JSFunction* constructor, JSGlobalProxy* global); 732 JSFunction* constructor, JSGlobalProxy* global);
(...skipping 2329 matching lines...) Expand 10 before | Expand all | Expand 10 after
3062 AssertNoAllocation no_alloc; // i.e. no gc allowed. 3062 AssertNoAllocation no_alloc; // i.e. no gc allowed.
3063 3063
3064 private: 3064 private:
3065 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3065 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3066 }; 3066 };
3067 #endif // DEBUG 3067 #endif // DEBUG
3068 3068
3069 } } // namespace v8::internal 3069 } } // namespace v8::internal
3070 3070
3071 #endif // V8_HEAP_H_ 3071 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698