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

Side by Side Diff: src/compiler/wasm-compiler.h

Issue 2226053002: [wasm] Remove single function JIT support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Drop test Created 4 years, 4 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/compiler/wasm-compiler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_COMPILER_WASM_COMPILER_H_ 5 #ifndef V8_COMPILER_WASM_COMPILER_H_
6 #define V8_COMPILER_WASM_COMPILER_H_ 6 #define V8_COMPILER_WASM_COMPILER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 Node* Return(unsigned count, Node** vals); 151 Node* Return(unsigned count, Node** vals);
152 Node* ReturnVoid(); 152 Node* ReturnVoid();
153 Node* Unreachable(wasm::WasmCodePosition position); 153 Node* Unreachable(wasm::WasmCodePosition position);
154 154
155 Node* CallDirect(uint32_t index, Node** args, 155 Node* CallDirect(uint32_t index, Node** args,
156 wasm::WasmCodePosition position); 156 wasm::WasmCodePosition position);
157 Node* CallImport(uint32_t index, Node** args, 157 Node* CallImport(uint32_t index, Node** args,
158 wasm::WasmCodePosition position); 158 wasm::WasmCodePosition position);
159 Node* CallIndirect(uint32_t index, Node** args, 159 Node* CallIndirect(uint32_t index, Node** args,
160 wasm::WasmCodePosition position); 160 wasm::WasmCodePosition position);
161 Node* JITSingleFunction(Node* base, Node* length, Node* index,
162 uint32_t sig_index, wasm::FunctionSig* sig,
163 wasm::WasmCodePosition position);
164 void BuildJSToWasmWrapper(Handle<Code> wasm_code, wasm::FunctionSig* sig); 161 void BuildJSToWasmWrapper(Handle<Code> wasm_code, wasm::FunctionSig* sig);
165 void BuildWasmToJSWrapper(Handle<JSFunction> function, 162 void BuildWasmToJSWrapper(Handle<JSFunction> function,
166 wasm::FunctionSig* sig); 163 wasm::FunctionSig* sig);
167 164
168 Node* ToJS(Node* node, Node* context, wasm::LocalType type); 165 Node* ToJS(Node* node, Node* context, wasm::LocalType type);
169 Node* FromJS(Node* node, Node* context, wasm::LocalType type); 166 Node* FromJS(Node* node, Node* context, wasm::LocalType type);
170 Node* Invert(Node* node); 167 Node* Invert(Node* node);
171 Node* FunctionTable(uint32_t index); 168 Node* FunctionTable(uint32_t index);
172 Node* ChangeToRuntimeCall(Node* node, Runtime::FunctionId function_id, 169 Node* ChangeToRuntimeCall(Node* node, Runtime::FunctionId function_id,
173 Signature<Conversion>* signature); 170 Signature<Conversion>* signature);
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 } 347 }
351 348
352 // Simd helper functions 349 // Simd helper functions
353 MachineOperatorBuilder* simd(); 350 MachineOperatorBuilder* simd();
354 }; 351 };
355 } // namespace compiler 352 } // namespace compiler
356 } // namespace internal 353 } // namespace internal
357 } // namespace v8 354 } // namespace v8
358 355
359 #endif // V8_COMPILER_WASM_COMPILER_H_ 356 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698