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

Side by Side Diff: src/factory.h

Issue 203583007: Support weak heap references in the ConstantPool to support IsWeakObjectInOptimizedCode objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // Allocate a new uninitialized fixed double array. 57 // Allocate a new uninitialized fixed double array.
58 Handle<FixedDoubleArray> NewFixedDoubleArray( 58 Handle<FixedDoubleArray> NewFixedDoubleArray(
59 int size, 59 int size,
60 PretenureFlag pretenure = NOT_TENURED); 60 PretenureFlag pretenure = NOT_TENURED);
61 61
62 Handle<ConstantPoolArray> NewConstantPoolArray( 62 Handle<ConstantPoolArray> NewConstantPoolArray(
63 int number_of_int64_entries, 63 int number_of_int64_entries,
64 int number_of_code_ptr_entries, 64 int number_of_code_ptr_entries,
65 int number_of_heap_ptr_entries, 65 int number_of_heap_ptr_entries,
66 int number_of_weak_ptr_entries,
66 int number_of_int32_entries); 67 int number_of_int32_entries);
67 68
68 Handle<SeededNumberDictionary> NewSeededNumberDictionary( 69 Handle<SeededNumberDictionary> NewSeededNumberDictionary(
69 int at_least_space_for); 70 int at_least_space_for);
70 71
71 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( 72 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary(
72 int at_least_space_for); 73 int at_least_space_for);
73 74
74 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); 75 Handle<NameDictionary> NewNameDictionary(int at_least_space_for);
75 76
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 isolate()); 612 isolate());
612 } else { 613 } else {
613 return NewNumber(static_cast<double>(value), pretenure); 614 return NewNumber(static_cast<double>(value), pretenure);
614 } 615 }
615 } 616 }
616 617
617 618
618 } } // namespace v8::internal 619 } } // namespace v8::internal
619 620
620 #endif // V8_FACTORY_H_ 621 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/factory.cc » ('j') | src/objects-visiting-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698