| Index: vm/code_descriptors_test.cc
|
| ===================================================================
|
| --- vm/code_descriptors_test.cc (revision 9829)
|
| +++ vm/code_descriptors_test.cc (working copy)
|
| @@ -13,6 +13,7 @@
|
| #include "vm/dart_entry.h"
|
| #include "vm/native_entry.h"
|
| #include "vm/parser.h"
|
| +#include "vm/symbols.h"
|
| #include "vm/unit_test.h"
|
|
|
| namespace dart {
|
| @@ -22,7 +23,7 @@
|
|
|
| CODEGEN_TEST_GENERATE(StackmapCodegen, test) {
|
| Assembler assembler;
|
| - const String& function_name = String::ZoneHandle(String::NewSymbol("test"));
|
| + const String& function_name = String::ZoneHandle(Symbols::New("test"));
|
| const Function& function = Function::Handle(
|
| Function::New(function_name, RawFunction::kRegularFunction,
|
| true, false, 0));
|
| @@ -175,7 +176,7 @@
|
| const Library& lib = Library::Handle(Library::LookupLibrary(name));
|
| EXPECT(!lib.IsNull());
|
| Class& cls = Class::Handle(
|
| - lib.LookupClass(String::Handle(String::NewSymbol("A"))));
|
| + lib.LookupClass(String::Handle(Symbols::New("A"))));
|
| EXPECT(!cls.IsNull());
|
|
|
| // Now compile the two functions 'A.foo' and 'A.moo'
|
|
|