Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 683252c6dfebb0c5bdd19b5c80030b54174d18a7..ef74f884e530d85f2ae926b27856da4f0db29700 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1026,6 +1026,11 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
name); |
} |
+ template <class... TArgs> |
+ Node* CallBuiltin(Builtins::Name id, Node* context, TArgs... args) { |
+ return CallStub(Builtins::CallableFor(isolate(), id), context, args...); |
+ } |
+ |
void LoadPropertyFromFastObject(Node* object, Node* map, Node* descriptors, |
Node* name_index, Variable* var_details, |
Variable* var_value); |