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

Side by Side Diff: src/factory.h

Issue 2134593002: [wasm] cloning compiled module before instantiation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [wasm] cloning compiled module before instantiation Created 4 years, 5 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 | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-module.h » ('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 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 Handle<Code> NewCode(const CodeDesc& desc, 545 Handle<Code> NewCode(const CodeDesc& desc,
546 Code::Flags flags, 546 Code::Flags flags,
547 Handle<Object> self_reference, 547 Handle<Object> self_reference,
548 bool immovable = false, 548 bool immovable = false,
549 bool crankshafted = false, 549 bool crankshafted = false,
550 int prologue_offset = Code::kPrologueOffsetNotSet, 550 int prologue_offset = Code::kPrologueOffsetNotSet,
551 bool is_debug = false); 551 bool is_debug = false);
552 552
553 Handle<Code> CopyCode(Handle<Code> code); 553 Handle<Code> CopyCode(Handle<Code> code);
554 554
555 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info);
556
557 Handle<BytecodeArray> CopyBytecodeArray(Handle<BytecodeArray>); 555 Handle<BytecodeArray> CopyBytecodeArray(Handle<BytecodeArray>);
558 556
559 // Interface for creating error objects. 557 // Interface for creating error objects.
560 Handle<Object> NewError(Handle<JSFunction> constructor, 558 Handle<Object> NewError(Handle<JSFunction> constructor,
561 Handle<String> message); 559 Handle<String> message);
562 560
563 Handle<Object> NewInvalidStringLengthError() { 561 Handle<Object> NewInvalidStringLengthError() {
564 return NewRangeError(MessageTemplate::kInvalidStringLength); 562 return NewRangeError(MessageTemplate::kInvalidStringLength);
565 } 563 }
566 564
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 713
716 // Create a JSArray with no elements and no length. 714 // Create a JSArray with no elements and no length.
717 Handle<JSArray> NewJSArray(ElementsKind elements_kind, 715 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
718 PretenureFlag pretenure = NOT_TENURED); 716 PretenureFlag pretenure = NOT_TENURED);
719 }; 717 };
720 718
721 } // namespace internal 719 } // namespace internal
722 } // namespace v8 720 } // namespace v8
723 721
724 #endif // V8_FACTORY_H_ 722 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698