Index: runtime/vm/regexp_assembler.cc |
diff --git a/runtime/lib/class_id.cc b/runtime/vm/regexp_assembler.cc |
similarity index 51% |
copy from runtime/lib/class_id.cc |
copy to runtime/vm/regexp_assembler.cc |
index 2f99138b95c88139108b31d8553b124855535907..8936d9daee1958cb5ecdf3dd80adb0da9e9635c1 100644 |
--- a/runtime/lib/class_id.cc |
+++ b/runtime/vm/regexp_assembler.cc |
@@ -2,15 +2,22 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-#include "platform/assert.h" |
-#include "vm/bootstrap_natives.h" |
+#include "vm/regexp_assembler.h" |
+ |
+// SNIP |
namespace dart { |
-DEFINE_NATIVE_ENTRY(ClassID_getID, 1) { |
- const Instance& instance = |
- Instance::CheckedHandle(isolate, arguments->NativeArgAt(0)); |
- return Smi::New(instance.GetClassId()); |
+RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) |
+ : slow_safe_compiler_(false), |
+ global_mode_(NOT_GLOBAL), |
+ zone_(zone) { |
} |
+ |
+RegExpMacroAssembler::~RegExpMacroAssembler() { |
+} |
+ |
+// SNIP |
+ |
} // namespace dart |