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

Side by Side Diff: src/factory.h

Issue 16631002: Separate Cell and PropertyCell spaces (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove Mips changes Created 7 years, 6 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/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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 Handle<ByteArray> NewByteArray(int length, 229 Handle<ByteArray> NewByteArray(int length,
230 PretenureFlag pretenure = NOT_TENURED); 230 PretenureFlag pretenure = NOT_TENURED);
231 231
232 Handle<ExternalArray> NewExternalArray( 232 Handle<ExternalArray> NewExternalArray(
233 int length, 233 int length,
234 ExternalArrayType array_type, 234 ExternalArrayType array_type,
235 void* external_pointer, 235 void* external_pointer,
236 PretenureFlag pretenure = NOT_TENURED); 236 PretenureFlag pretenure = NOT_TENURED);
237 237
238 Handle<Cell> NewCell(Handle<Object> value);
239
238 Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell( 240 Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell(
239 Handle<Object> value); 241 Handle<Object> value);
240 242
241 Handle<Map> NewMap( 243 Handle<Map> NewMap(
242 InstanceType type, 244 InstanceType type,
243 int instance_size, 245 int instance_size,
244 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); 246 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND);
245 247
246 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); 248 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
247 249
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 } else { 556 } else {
555 return NewNumber(static_cast<double>(value), pretenure); 557 return NewNumber(static_cast<double>(value), pretenure);
556 } 558 }
557 } 559 }
558 560
559 561
560 562
561 } } // namespace v8::internal 563 } } // namespace v8::internal
562 564
563 #endif // V8_FACTORY_H_ 565 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698