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

Side by Side Diff: src/factory.h

Issue 238273006: Remove some direct uses of heap allocators from runtime.cc (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 380
381 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function); 381 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function);
382 382
383 Handle<JSArrayBuffer> NewJSArrayBuffer(); 383 Handle<JSArrayBuffer> NewJSArrayBuffer();
384 384
385 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); 385 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type);
386 386
387 Handle<JSDataView> NewJSDataView(); 387 Handle<JSDataView> NewJSDataView();
388 388
389 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); 389 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
390 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler,
391 Handle<Object> call_trap,
392 Handle<Object> construct_trap,
393 Handle<Object> prototype);
390 394
391 // Change the type of the argument into a JS object/function and reinitialize. 395 // Change the type of the argument into a JS object/function and reinitialize.
392 void BecomeJSObject(Handle<JSReceiver> object); 396 void BecomeJSObject(Handle<JSReceiver> object);
393 void BecomeJSFunction(Handle<JSReceiver> object); 397 void BecomeJSFunction(Handle<JSReceiver> object);
394 398
395 Handle<JSFunction> NewFunction(Handle<String> name, 399 Handle<JSFunction> NewFunction(Handle<String> name,
396 Handle<Object> prototype); 400 Handle<Object> prototype);
397 401
398 Handle<JSFunction> NewFunctionWithoutPrototype( 402 Handle<JSFunction> NewFunctionWithoutPrototype(
399 Handle<String> name, 403 Handle<String> name,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 613
610 // Update the map cache in the native context with (keys, map) 614 // Update the map cache in the native context with (keys, map)
611 Handle<MapCache> AddToMapCache(Handle<Context> context, 615 Handle<MapCache> AddToMapCache(Handle<Context> context,
612 Handle<FixedArray> keys, 616 Handle<FixedArray> keys,
613 Handle<Map> map); 617 Handle<Map> map);
614 }; 618 };
615 619
616 } } // namespace v8::internal 620 } } // namespace v8::internal
617 621
618 #endif // V8_FACTORY_H_ 622 #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