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

R=clemensh@chromium.org

Change-Id: If0b4aed4e5770702b36e3e1a34189a1b18a9cf17
Reviewed-on: https://chromium-review.googlesource.com/631837
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47882}
This commit is contained in:
Michael Starzinger 2017-09-07 14:30:41 +02:00 committed by Commit Bot
parent ef557c9844
commit 1eabc93f53
2 changed files with 0 additions and 10 deletions

View File

@ -12,7 +12,6 @@
#include "src/asmjs/asm-js.h"
#include "src/asmjs/asm-types.h"
#include "src/base/optional.h"
#include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker.
#include "src/parsing/scanner.h"
#include "src/wasm/wasm-opcodes.h"

View File

@ -7,7 +7,6 @@
#include <memory>
#include "src/api.h"
#include "src/debug/debug-interface.h"
#include "src/globals.h"
#include "src/handles.h"
@ -396,14 +395,6 @@ inline bool EnableGuardRegions() {
!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,
Handle<FixedArray> code_table);