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

Unified Diff: src/asmjs/typing-asm.h

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 6 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
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | src/asmjs/typing-asm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/asmjs/typing-asm.h
diff --git a/src/typing-asm.h b/src/asmjs/typing-asm.h
similarity index 97%
rename from src/typing-asm.h
rename to src/asmjs/typing-asm.h
index 129bf99997d7665feea4182bea9a71e01ab6fcbb..683f5b2831512ba01c30e1d16b7bc2eee7b9d985 100644
--- a/src/typing-asm.h
+++ b/src/asmjs/typing-asm.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8_TYPING_ASM_H_
-#define V8_TYPING_ASM_H_
+#ifndef V8_ASMJS_TYPING_ASM_H_
+#define V8_ASMJS_TYPING_ASM_H_
#include "src/allocation.h"
#include "src/ast/ast-type-bounds.h"
@@ -24,6 +24,7 @@ class AsmTyper : public AstVisitor {
FunctionLiteral* root);
bool Validate();
void set_allow_simd(bool simd) { allow_simd_ = simd; }
+ void set_fixed_signature(bool fixed) { fixed_signature_ = fixed; }
const char* error_message() { return error_message_; }
const AstTypeBounds* bounds() { return &bounds_; }
@@ -71,6 +72,7 @@ class AsmTyper : public AstVisitor {
FunctionLiteral* root_;
bool valid_;
bool allow_simd_;
+ bool fixed_signature_;
struct VariableInfo : public ZoneObject {
Type* type;
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | src/asmjs/typing-asm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698