Commit d9b54ff9 authored by Mircea Trofin's avatar Mircea Trofin Committed by Commit Bot

[wasm] Rename an internal wasm cctest member.

Bug: 
Change-Id: Ia8fd50cad1c7d0dd82eeadb22807e301246423a8
Reviewed-on: https://chromium-review.googlesource.com/610309Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47286}
parent a0c2b7f2
......@@ -32,7 +32,7 @@ using namespace v8::internal::compiler;
/* global = global + p0 */ \
BUILD(r, WASM_SET_GLOBAL(1, ADD(WASM_GET_GLOBAL(0), WASM_GET_LOCAL(0))), \
WASM_GET_GLOBAL(0)); \
CHECK_EQ(1, r.module().FunctionCodeSize()); \
CHECK_EQ(1, r.module().CodeTableLength()); \
\
int filter = 1 << RelocInfo::WASM_GLOBAL_REFERENCE; \
\
......
......@@ -126,7 +126,7 @@ class TestingModule : public ModuleEnv {
return mem_start();
}
size_t FunctionCodeSize() const { return function_code_.size(); }
size_t CodeTableLength() const { return function_code_.size(); }
template <typename T>
T* AddMemoryElems(uint32_t count) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment