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

Side by Side Diff: src/factory.h

Issue 183883011: Differentate between code target pointers and heap pointers in constant pools. (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
« no previous file with comments | « no previous file | src/factory.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int size, 54 int size,
55 PretenureFlag pretenure = NOT_TENURED); 55 PretenureFlag pretenure = NOT_TENURED);
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_ptr_entries, 64 int number_of_code_ptr_entries,
65 int number_of_heap_ptr_entries,
65 int number_of_int32_entries); 66 int number_of_int32_entries);
66 67
67 Handle<SeededNumberDictionary> NewSeededNumberDictionary( 68 Handle<SeededNumberDictionary> NewSeededNumberDictionary(
68 int at_least_space_for); 69 int at_least_space_for);
69 70
70 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( 71 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary(
71 int at_least_space_for); 72 int at_least_space_for);
72 73
73 Handle<NameDictionary> NewNameDictionary(int at_least_space_for); 74 Handle<NameDictionary> NewNameDictionary(int at_least_space_for);
74 75
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 isolate()); 598 isolate());
598 } else { 599 } else {
599 return NewNumber(static_cast<double>(value), pretenure); 600 return NewNumber(static_cast<double>(value), pretenure);
600 } 601 }
601 } 602 }
602 603
603 604
604 } } // namespace v8::internal 605 } } // namespace v8::internal
605 606
606 #endif // V8_FACTORY_H_ 607 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698