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

Side by Side Diff: src/factory.h

Issue 631093003: [turbofan] Fix lowering of typed loads/stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/compiler/simplified-operator.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 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 "src/isolate.h" 8 #include "src/isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 int length, 427 int length,
428 int capacity, 428 int capacity,
429 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS); 429 ArrayStorageAllocationMode mode = DONT_INITIALIZE_ARRAY_ELEMENTS);
430 430
431 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function); 431 Handle<JSGeneratorObject> NewJSGeneratorObject(Handle<JSFunction> function);
432 432
433 Handle<JSArrayBuffer> NewJSArrayBuffer(); 433 Handle<JSArrayBuffer> NewJSArrayBuffer();
434 434
435 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); 435 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type);
436 436
437 // Creates a new JSTypedArray with the specified buffer.
438 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type,
439 Handle<JSArrayBuffer> buffer,
440 size_t length);
441
437 Handle<JSDataView> NewJSDataView(); 442 Handle<JSDataView> NewJSDataView();
438 443
439 // Allocates a Harmony proxy. 444 // Allocates a Harmony proxy.
440 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); 445 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
441 446
442 // Allocates a Harmony function proxy. 447 // Allocates a Harmony function proxy.
443 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler, 448 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler,
444 Handle<Object> call_trap, 449 Handle<Object> call_trap,
445 Handle<Object> construct_trap, 450 Handle<Object> construct_trap,
446 Handle<Object> prototype); 451 Handle<Object> prototype);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 // Reinitialize a JSProxy into an (empty) JS object of respective type and 713 // Reinitialize a JSProxy into an (empty) JS object of respective type and
709 // size, but keeping the original prototype. The receiver must have at least 714 // size, but keeping the original prototype. The receiver must have at least
710 // the size of the new object. The object is reinitialized and behaves as an 715 // the size of the new object. The object is reinitialized and behaves as an
711 // object that has been freshly allocated. 716 // object that has been freshly allocated.
712 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 717 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
713 }; 718 };
714 719
715 } } // namespace v8::internal 720 } } // namespace v8::internal
716 721
717 #endif // V8_FACTORY_H_ 722 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698