#include <method_recognizer.h>
Definition at line 72 of file method_recognizer.h.
◆ GetResultCidOfListFactory()
intptr_t dart::FactoryRecognizer::GetResultCidOfListFactory |
( |
Zone * |
zone, |
|
|
const Function & |
function, |
|
|
intptr_t |
argument_count |
|
) |
| |
|
static |
Definition at line 348 of file method_recognizer.cc.
350 {
353 }
354
359 }
360
361 if (owner.Name() == Symbols::List().ptr()) {
362 if (
function.name() == Symbols::ListFactory().ptr()) {
364 return (
argument_count == 1) ? kGrowableObjectArrayCid : kArrayCid;
365 }
else if (
function.name() == Symbols::ListFilledFactory().ptr()) {
368 }
369 }
370
372}
static intptr_t ResultCid(const Function &factory)
static LibraryPtr CoreLibrary()
static LibraryPtr TypedDataLibrary()
Dart_NativeFunction function
◆ ResultCid()
intptr_t dart::FactoryRecognizer::ResultCid |
( |
const Function & |
factory | ) |
|
|
static |
Definition at line 330 of file method_recognizer.cc.
330 {
331 ASSERT(factory.IsFactory());
332 const Class& function_class =
Class::Handle(factory.Owner());
337 for (intptr_t i = 0;
340 factory_name,
343 }
344 }
346}
static bool EqualsIgnoringPrivateKey(const String &str1, const String &str2)
static const String & Symbol(intptr_t index)
static const struct dart::@132 factory_recognizer_list[]
The documentation for this class was generated from the following files: