Index: src/builtins/builtins-function.cc |
diff --git a/src/builtins/builtins-function.cc b/src/builtins/builtins-function.cc |
index 3672794527bbd85a1f7914818aed123c25da544c..9a8ee796b5d72bc09b6d035ba8b9f7b30a2c4af3 100644 |
--- a/src/builtins/builtins-function.cc |
+++ b/src/builtins/builtins-function.cc |
@@ -283,15 +283,14 @@ |
// ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) |
void Builtins::Generate_FunctionPrototypeHasInstance( |
- compiler::CodeAssemblerState* state) { |
+ CodeStubAssembler* assembler) { |
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 |