Index: runtime/vm/stub_code.cc |
diff --git a/runtime/vm/stub_code.cc b/runtime/vm/stub_code.cc |
index 38fd62391a7aa19689137751429d770a84474b83..ad51097eadca0879c4cbbed0e24ee6a97866933d 100644 |
--- a/runtime/vm/stub_code.cc |
+++ b/runtime/vm/stub_code.cc |
@@ -58,30 +58,18 @@ void StubCode::InitOnce() { |
} |
-void StubCode::GenerateBootstrapStubsFor(Isolate* init) { |
- // Generate initial stubs. |
- Code& code = Code::Handle(); |
- BOOTSTRAP_STUB_CODE_LIST(STUB_CODE_GENERATE); |
-} |
- |
- |
void StubCode::GenerateStubsFor(Isolate* init) { |
// Generate all the other stubs. |
Code& code = Code::Handle(); |
- REST_STUB_CODE_LIST(STUB_CODE_GENERATE); |
+ STUB_CODE_LIST(STUB_CODE_GENERATE); |
} |
#undef STUB_CODE_GENERATE |
-void StubCode::InitBootstrapStubs(Isolate* isolate) { |
+void StubCode::Init(Isolate* isolate) { |
StubCode* stubs = new StubCode(isolate); |
isolate->set_stub_code(stubs); |
- stubs->GenerateBootstrapStubsFor(isolate); |
-} |
- |
- |
-void StubCode::Init(Isolate* isolate) { |
isolate->stub_code()->GenerateStubsFor(isolate); |
} |