| 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;
|
|
|