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

Side by Side Diff: test/cctest/wasm/test-wasm-trap-position.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-wasm-stack.cc ('k') | test/common/wasm/test-signatures.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 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 CHECK(returnObjMaybe.is_null()); 131 CHECK(returnObjMaybe.is_null());
132 132
133 // The column is 1-based, so add 1 to the actual byte offset. 133 // The column is 1-based, so add 1 to the actual byte offset.
134 ExceptionInfo expected_exceptions[] = { 134 ExceptionInfo expected_exceptions[] = {
135 {"<WASM UNNAMED>", static_cast<int>(wasm_index), 8}, // -- 135 {"<WASM UNNAMED>", static_cast<int>(wasm_index), 8}, // --
136 {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 3}, // -- 136 {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 3}, // --
137 {"callFn", 1, 24} // -- 137 {"callFn", 1, 24} // --
138 }; 138 };
139 CheckExceptionInfos(maybe_exc.ToHandleChecked(), expected_exceptions); 139 CheckExceptionInfos(maybe_exc.ToHandleChecked(), expected_exceptions);
140 } 140 }
OLDNEW
« no previous file with comments | « test/cctest/wasm/test-wasm-stack.cc ('k') | test/common/wasm/test-signatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698