| Index: src/asmjs/asm-typer.h
|
| diff --git a/src/asmjs/asm-typer.h b/src/asmjs/asm-typer.h
|
| index 0505481c25a0b3f0295239f29bf83fdb25b46ffd..53eaabaf3d92019bd5b142dbf785853417540651 100644
|
| --- a/src/asmjs/asm-typer.h
|
| +++ b/src/asmjs/asm-typer.h
|
| @@ -15,6 +15,7 @@
|
| #include "src/ast/ast-types.h"
|
| #include "src/ast/ast.h"
|
| #include "src/effects.h"
|
| +#include "src/messages.h"
|
| #include "src/type-info.h"
|
| #include "src/zone/zone-containers.h"
|
| #include "src/zone/zone.h"
|
| @@ -70,7 +71,7 @@ class AsmTyper final {
|
|
|
| bool Validate();
|
|
|
| - const char* error_message() const { return error_message_; }
|
| + Handle<JSMessageObject> error_message() const { return error_message_; }
|
|
|
| AsmType* TypeOf(AstNode* node) const;
|
| AsmType* TypeOf(Variable* v) const;
|
| @@ -349,7 +350,7 @@ class AsmTyper final {
|
| static const int kErrorMessageLimit = 128;
|
| AsmType* fround_type_;
|
| AsmType* ffi_type_;
|
| - char error_message_[kErrorMessageLimit];
|
| + Handle<JSMessageObject> error_message_;
|
| StdlibSet stdlib_uses_;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(AsmTyper);
|
|
|