Index: src/builtins/builtins-function.cc |
diff --git a/src/builtins/builtins-function.cc b/src/builtins/builtins-function.cc |
index 9a8ee796b5d72bc09b6d035ba8b9f7b30a2c4af3..3672794527bbd85a1f7914818aed123c25da544c 100644 |
--- a/src/builtins/builtins-function.cc |
+++ b/src/builtins/builtins-function.cc |
@@ -283,14 +283,15 @@ BUILTIN(FunctionPrototypeToString) { |
// ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) |
void Builtins::Generate_FunctionPrototypeHasInstance( |
- CodeStubAssembler* assembler) { |
+ compiler::CodeAssemblerState* state) { |
using compiler::Node; |
+ CodeStubAssembler assembler(state); |
- Node* f = assembler->Parameter(0); |
- Node* v = assembler->Parameter(1); |
- Node* context = assembler->Parameter(4); |
- Node* result = assembler->OrdinaryHasInstance(context, f, v); |
- assembler->Return(result); |
+ Node* f = assembler.Parameter(0); |
+ Node* v = assembler.Parameter(1); |
+ Node* context = assembler.Parameter(4); |
+ Node* result = assembler.OrdinaryHasInstance(context, f, v); |
+ assembler.Return(result); |
} |
} // namespace internal |