| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "test/cctest/wasm/wasm-module-runner.h" | 5 #include "test/common/wasm/wasm-module-runner.h" |
| 6 | 6 |
| 7 #include "src/handles.h" | 7 #include "src/handles.h" |
| 8 #include "src/isolate.h" | 8 #include "src/isolate.h" |
| 9 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/property-descriptor.h" | 10 #include "src/property-descriptor.h" |
| 11 #include "src/wasm/module-decoder.h" | 11 #include "src/wasm/module-decoder.h" |
| 12 #include "src/wasm/wasm-interpreter.h" | 12 #include "src/wasm/wasm-interpreter.h" |
| 13 #include "src/wasm/wasm-module.h" | 13 #include "src/wasm/wasm-module.h" |
| 14 #include "src/wasm/wasm-result.h" | 14 #include "src/wasm/wasm-result.h" |
| 15 #include "src/zone.h" | 15 #include "src/zone.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 return static_cast<int32_t>(HeapNumber::cast(*result)->value()); | 186 return static_cast<int32_t>(HeapNumber::cast(*result)->value()); |
| 187 } | 187 } |
| 188 thrower.Error("WASM.compileRun() failed: Return value should be number"); | 188 thrower.Error("WASM.compileRun() failed: Return value should be number"); |
| 189 return -1; | 189 return -1; |
| 190 } | 190 } |
| 191 | 191 |
| 192 } // namespace testing | 192 } // namespace testing |
| 193 } // namespace wasm | 193 } // namespace wasm |
| 194 } // namespace internal | 194 } // namespace internal |
| 195 } // namespace v8 | 195 } // namespace v8 |
| OLD | NEW |