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

Side by Side Diff: src/factory.h

Issue 2649163004: [wasm] JSAPI conformance: instance.exports has null prototype. (Closed)
Patch Set: Created 3 years, 10 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
« 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 "src/globals.h" 8 #include "src/globals.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 468
469 Handle<JSWeakMap> NewJSWeakMap(); 469 Handle<JSWeakMap> NewJSWeakMap();
470 470
471 Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length); 471 Handle<JSObject> NewArgumentsObject(Handle<JSFunction> callee, int length);
472 472
473 // JS objects are pretenured when allocated by the bootstrapper and 473 // JS objects are pretenured when allocated by the bootstrapper and
474 // runtime. 474 // runtime.
475 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 475 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
476 PretenureFlag pretenure = NOT_TENURED); 476 PretenureFlag pretenure = NOT_TENURED);
477 // JSObject without a prototype. 477 // JSObject without a prototype.
478 Handle<JSObject> NewJSObjectWithNullProto(); 478 Handle<JSObject> NewJSObjectWithNullProto(
479 PretenureFlag pretenure = NOT_TENURED);
479 480
480 // Global objects are pretenured and initialized based on a constructor. 481 // Global objects are pretenured and initialized based on a constructor.
481 Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor); 482 Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor);
482 483
483 // JS objects are pretenured when allocated by the bootstrapper and 484 // JS objects are pretenured when allocated by the bootstrapper and
484 // runtime. 485 // runtime.
485 Handle<JSObject> NewJSObjectFromMap( 486 Handle<JSObject> NewJSObjectFromMap(
486 Handle<Map> map, 487 Handle<Map> map,
487 PretenureFlag pretenure = NOT_TENURED, 488 PretenureFlag pretenure = NOT_TENURED,
488 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null()); 489 Handle<AllocationSite> allocation_site = Handle<AllocationSite>::null());
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 836 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
836 FunctionMode function_mode); 837 FunctionMode function_mode);
837 838
838 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 839 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
839 }; 840 };
840 841
841 } // namespace internal 842 } // namespace internal
842 } // namespace v8 843 } // namespace v8
843 844
844 #endif // V8_FACTORY_H_ 845 #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