Deleted Added
sdiff udiff text old ( 11308:7d8836fd043d ) new ( 12603:ab2cec4483af )
full compact
1/*
2 * Copyright (c) 2012-2015 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 231 unchanged lines hidden (view full) ---

240 typedef std::map<const Brig::BrigDirectiveVariable*, StorageElement*>
241 DirVarToSE_map;
242
243 std::list<StorageElement*> elements;
244 AddrRangeMap<StorageElement*> elements_by_addr;
245 DirVarToSE_map elements_by_brigptr;
246
247 uint64_t nextOffset;
248 Brig::BrigSegment segment;
249
250 public:
251 StorageSpace(Brig::BrigSegment _class)
252 : nextOffset(0), segment(_class)
253 {
254 }
255
256 StorageElement *addSymbol(const Brig::BrigDirectiveVariable *sym,
257 const BrigObject *obj);
258
259 StorageElement* findSymbol(std::string name);
260 StorageElement* findSymbol(uint64_t addr);

--- 187 unchanged lines hidden ---