aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/command.cc')
-rw-r--r--common/command.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/command.cc b/common/command.cc
index 89bbf90c..7f276193 100644
--- a/common/command.cc
+++ b/common/command.cc
@@ -475,15 +475,6 @@ int CommandHandler::exec()
void CommandHandler::load_json(Context *ctx, std::string filename)
{
- ctx->cells.clear();
- ctx->nets.clear();
- ctx->net_aliases.clear();
- ctx->ports.clear();
- ctx->hierarchy.clear();
- ctx->settings.erase(ctx->id("pack"));
- ctx->settings.erase(ctx->id("place"));
- ctx->settings.erase(ctx->id("route"));
-
setupContext(ctx);
setupArchContext(ctx);
{