]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Relax assertion to avoid this: vg_cachesim.c:402
authorJulian Seward <jseward@acm.org>
Tue, 30 Apr 2002 10:18:48 +0000 (10:18 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 30 Apr 2002 10:18:48 +0000 (10:18 +0000)
(compute_BBCC_array_size): Assertion `!is_STORE && !is_FPU_R &&
!is_FPU_W' failed.

I don't know if this is correct, but I can run kate having done so.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@171

cachegrind/cg_main.c
vg_cachesim.c

index ea0cb410a25f367ec515a35cd0418b940badee3c..4db78ce7e6c72ca8599041b98a715dd2c0758db9 100644 (file)
@@ -375,7 +375,7 @@ static Int compute_BBCC_array_size(UCodeBlock* cb)
    is_LOAD = is_STORE = is_FPU_R = is_FPU_W = False;
 
    for (i = 0; i < cb->used; i++) {
-      //VG_(ppUInstr)(0, &cb->instrs[i]);
+      /* VG_(ppUInstr)(0, &cb->instrs[i]); */
 
       u_in = &cb->instrs[i];
       switch(u_in->opcode) {
@@ -399,7 +399,8 @@ static Int compute_BBCC_array_size(UCodeBlock* cb)
 
          case LOAD:
             /* Two LDBs are possible for a single instruction */
-            vg_assert(/*!is_LOAD &&*/ !is_STORE && !is_FPU_R && !is_FPU_W);
+            vg_assert(/*!is_LOAD &&*/ /* !is_STORE && */ 
+                      !is_FPU_R && !is_FPU_W);
             is_LOAD = True;
             break;
 
index ea0cb410a25f367ec515a35cd0418b940badee3c..4db78ce7e6c72ca8599041b98a715dd2c0758db9 100644 (file)
@@ -375,7 +375,7 @@ static Int compute_BBCC_array_size(UCodeBlock* cb)
    is_LOAD = is_STORE = is_FPU_R = is_FPU_W = False;
 
    for (i = 0; i < cb->used; i++) {
-      //VG_(ppUInstr)(0, &cb->instrs[i]);
+      /* VG_(ppUInstr)(0, &cb->instrs[i]); */
 
       u_in = &cb->instrs[i];
       switch(u_in->opcode) {
@@ -399,7 +399,8 @@ static Int compute_BBCC_array_size(UCodeBlock* cb)
 
          case LOAD:
             /* Two LDBs are possible for a single instruction */
-            vg_assert(/*!is_LOAD &&*/ !is_STORE && !is_FPU_R && !is_FPU_W);
+            vg_assert(/*!is_LOAD &&*/ /* !is_STORE && */ 
+                      !is_FPU_R && !is_FPU_W);
             is_LOAD = True;
             break;