Commit 1eabc93f authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[asm.js] Fix include cycle in asm-parser.cc file.

R=clemensh@chromium.org

Change-Id: If0b4aed4e5770702b36e3e1a34189a1b18a9cf17
Reviewed-on: https://chromium-review.googlesource.com/631837Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47882}
parent ef557c98
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include "src/asmjs/asm-js.h" #include "src/asmjs/asm-js.h"
#include "src/asmjs/asm-types.h" #include "src/asmjs/asm-types.h"
#include "src/base/optional.h" #include "src/base/optional.h"
#include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker.
#include "src/parsing/scanner.h" #include "src/parsing/scanner.h"
#include "src/wasm/wasm-opcodes.h" #include "src/wasm/wasm-opcodes.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <memory> #include <memory>
#include "src/api.h"
#include "src/debug/debug-interface.h" #include "src/debug/debug-interface.h"
#include "src/globals.h" #include "src/globals.h"
#include "src/handles.h" #include "src/handles.h"
...@@ -396,14 +395,6 @@ inline bool EnableGuardRegions() { ...@@ -396,14 +395,6 @@ inline bool EnableGuardRegions() {
!FLAG_experimental_wasm_threads; !FLAG_experimental_wasm_threads;
} }
inline SharedFlag IsShared(Handle<JSArrayBuffer> buffer) {
if (!buffer.is_null() && buffer->is_shared()) {
DCHECK(FLAG_experimental_wasm_threads);
return SharedFlag::kShared;
}
return SharedFlag::kNotShared;
}
void UnpackAndRegisterProtectedInstructions(Isolate* isolate, void UnpackAndRegisterProtectedInstructions(Isolate* isolate,
Handle<FixedArray> code_table); Handle<FixedArray> code_table);
......
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