Index: src/asmjs/asm-typer.cc |
diff --git a/src/asmjs/asm-typer.cc b/src/asmjs/asm-typer.cc |
index 1d3cef6e9ad11bda957ecf8390d1d9f3f649033a..a05422ffd3492814925f7574c2ee6e9738ae0a32 100644 |
--- a/src/asmjs/asm-typer.cc |
+++ b/src/asmjs/asm-typer.cc |
@@ -173,7 +173,7 @@ void AsmTyper::VariableInfo::SetFirstForwardUse(int source_location) { |
// ---------------------------------------------------------------------------- |
// Implementation of AsmTyper |
-AsmTyper::AsmTyper(Isolate* isolate, Zone* zone, Script* script, |
+AsmTyper::AsmTyper(Isolate* isolate, Zone* zone, Handle<Script> script, |
FunctionLiteral* root) |
: isolate_(isolate), |
zone_(zone), |
@@ -2866,7 +2866,7 @@ AsmType* AsmTyper::NewHeapView(CallNew* new_heap_view) { |
return heap_view_info->type(); |
} |
-bool IsValidAsm(Isolate* isolate, Zone* zone, Script* script, |
+bool IsValidAsm(Isolate* isolate, Zone* zone, Handle<Script> script, |
FunctionLiteral* root, std::string* error_message) { |
error_message->clear(); |