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

Side by Side Diff: test/cctest/wasm/test-wasm-stack.cc

Issue 2395743003: [wasm] Move test-signatures.h from test/cctest to test/common (Closed)
Patch Set: Delete old build file entries Created 4 years, 2 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 | « test/cctest/wasm/test-signatures.h ('k') | test/cctest/wasm/test-wasm-trap-position.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 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 "src/wasm/wasm-macro-gen.h" 5 #include "src/wasm/wasm-macro-gen.h"
6 6
7 #include "test/cctest/cctest.h" 7 #include "test/cctest/cctest.h"
8 #include "test/cctest/compiler/value-helper.h" 8 #include "test/cctest/compiler/value-helper.h"
9 #include "test/cctest/wasm/test-signatures.h"
10 #include "test/cctest/wasm/wasm-run-utils.h" 9 #include "test/cctest/wasm/wasm-run-utils.h"
10 #include "test/common/wasm/test-signatures.h"
11 11
12 using namespace v8::base; 12 using namespace v8::base;
13 using namespace v8::internal; 13 using namespace v8::internal;
14 using namespace v8::internal::compiler; 14 using namespace v8::internal::compiler;
15 using namespace v8::internal::wasm; 15 using namespace v8::internal::wasm;
16 16
17 using v8::Local; 17 using v8::Local;
18 using v8::Utils; 18 using v8::Utils;
19 19
20 namespace { 20 namespace {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 CHECK(maybe_return_obj.is_null()); 155 CHECK(maybe_return_obj.is_null());
156 156
157 // The column is 1-based, so add 1 to the actual byte offset. 157 // The column is 1-based, so add 1 to the actual byte offset.
158 ExceptionInfo expected_exceptions[] = { 158 ExceptionInfo expected_exceptions[] = {
159 {"<WASM UNNAMED>", static_cast<int>(wasm_index), 2}, // - 159 {"<WASM UNNAMED>", static_cast<int>(wasm_index), 2}, // -
160 {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 2}, // - 160 {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 2}, // -
161 {"callFn", 1, 24} //- 161 {"callFn", 1, 24} //-
162 }; 162 };
163 CheckExceptionInfos(maybe_exc.ToHandleChecked(), expected_exceptions); 163 CheckExceptionInfos(maybe_exc.ToHandleChecked(), expected_exceptions);
164 } 164 }
OLDNEW
« no previous file with comments | « test/cctest/wasm/test-signatures.h ('k') | test/cctest/wasm/test-wasm-trap-position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698