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

Side by Side Diff: runtime/wasm-runtime.cpp

Issue 1900213002: Subzero - WASM: Codegen fixes, better test infrastructure (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Copyright notice and TODO Created 4 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
« no previous file with comments | « runtime/wasm-runtime.c ('k') | src/WasmTranslator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //===- subzero/runtime/wasm-runtime.cpp - Subzero WASM runtime source -----===//
2 //
3 // The Subzero Code Generator
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the system calls required by the libc that is included
11 // in WebAssembly programs.
12 //
13 //===----------------------------------------------------------------------===//
14
15 // TODO (eholk): port wasm-runtime.c into this file, using C++ name mangling.
John 2016/04/20 19:18:13 for the time being, why don't you move the content
Eric Holk 2016/04/20 19:51:57 Done.
16
17 #include <cmath>
18
19 namespace env {
20 double floor(double X) { return std::floor(X); }
21
22 float floor(float X) { return std::floor(X); }
23 }
OLDNEW
« no previous file with comments | « runtime/wasm-runtime.c ('k') | src/WasmTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698