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

Unified Diff: test/cctest/wasm/test-run-wasm-module.cc

Issue 2344143003: Moved zones and zone related stuff in its own directory. (Closed)
Patch Set: Renamed defines to match new file locations Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: test/cctest/wasm/test-run-wasm-module.cc
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc
index ac5c751fc947144c48380e712df1fdc66b18edcb..4270b56118e5190392b4e447b3a1eeadfd636d40 100644
--- a/test/cctest/wasm/test-run-wasm-module.cc
+++ b/test/cctest/wasm/test-run-wasm-module.cc
@@ -50,7 +50,7 @@ void ExportAsMain(WasmFunctionBuilder* f) {
TEST(Run_WasmModule_Return114) {
static const int32_t kReturnValue = 114;
TestSignatures sigs;
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone);
@@ -64,7 +64,7 @@ TEST(Run_WasmModule_Return114) {
}
TEST(Run_WasmModule_CallAdd) {
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
TestSignatures sigs;
@@ -90,7 +90,7 @@ TEST(Run_WasmModule_CallAdd) {
TEST(Run_WasmModule_ReadLoadedDataSegment) {
static const byte kDataSegmentDest0 = 12;
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
TestSignatures sigs;
@@ -111,7 +111,7 @@ TEST(Run_WasmModule_ReadLoadedDataSegment) {
TEST(Run_WasmModule_CheckMemoryIsZero) {
static const int kCheckSize = 16 * 1024;
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
TestSignatures sigs;
@@ -134,7 +134,7 @@ TEST(Run_WasmModule_CheckMemoryIsZero) {
}
TEST(Run_WasmModule_CallMain_recursive) {
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
TestSignatures sigs;
@@ -158,7 +158,7 @@ TEST(Run_WasmModule_CallMain_recursive) {
}
TEST(Run_WasmModule_Global) {
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
TestSignatures sigs;
@@ -184,7 +184,7 @@ TEST(Run_WasmModule_Global) {
TEST(Run_WasmModule_Serialization) {
static const char* kFunctionName = "increment";
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone);
@@ -263,7 +263,7 @@ TEST(Run_WasmModule_MemSize_GrowMem) {
// Initial memory size = 16 + GrowMemory(10)
static const int kExpectedValue = kPageSize * 26;
TestSignatures sigs;
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone);
@@ -278,7 +278,7 @@ TEST(Run_WasmModule_MemSize_GrowMem) {
TEST(Run_WasmModule_GrowMemoryInIf) {
TestSignatures sigs;
- v8::base::AccountingAllocator allocator;
+ v8::internal::AccountingAllocator allocator;
Zone zone(&allocator);
WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone);
uint16_t f_index = builder->AddFunction();

Powered by Google App Engine
This is Rietveld 408576698