Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::CompilerTest Class Reference

#include <unit_test.h>

Inheritance diagram for dart::CompilerTest:
dart::AllStatic

Static Public Member Functions

static bool TestCompileFunction (const Function &function)
 

Detailed Description

Definition at line 636 of file unit_test.h.

Member Function Documentation

◆ TestCompileFunction()

bool dart::CompilerTest::TestCompileFunction ( const Function function)
static

Definition at line 781 of file unit_test.cc.

781 {
782 Thread* thread = Thread::Current();
783 ASSERT(thread != nullptr);
785 const Object& result =
787 return result.IsCode();
788}
static bool AllClassesFinalized()
static ObjectPtr CompileFunction(Thread *thread, const Function &function)
Definition: compiler.cc:824
static Object & Handle()
Definition: object.h:407
static Thread * Current()
Definition: thread.h:362
#define ASSERT(E)
GAsyncResult * result
Dart_NativeFunction function
Definition: fuchsia.cc:51

The documentation for this class was generated from the following files: