You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/idl/symbol_table.rb
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,9 @@ def hash
91
91
92
92
definitialize(cfg_arch)
93
93
raise"Must provide cfg_arch"ifcfg_arch.nil?
94
-
raise"The cfg_arch must be a ConfiguredArchitecture but is a #{cfg_arch.class}"unlesscfg_arch.is_a?(ConfiguredArchitecture)
94
+
# TODO: XXX: Put this check back in when replaced by Design class.
95
+
# See https://github.com/riscv-software-src/riscv-unified-db/pull/371
96
+
#raise "The cfg_arch must be a ConfiguredArchitecture but is a #{cfg_arch.class}" unless (cfg_arch.is_a?(ConfiguredArchitecture) || cfg_arch.is_a?(MockConfiguredArchitecture))
0 commit comments