[ARM64/Linux] Fix 'error: 109 enumeration values not handled in switch' (dotnet/corec...
authorSung-Jae Lee <sjlee@mail.com>
Sun, 5 Jun 2016 15:01:58 +0000 (00:01 +0900)
committerJan Kotas <jkotas@microsoft.com>
Sun, 5 Jun 2016 15:01:58 +0000 (08:01 -0700)
This fixes ARM64 Linux compilation error
```
/home/sjlee/git/coreclr/src/jit/emit.h:988:61: error: 109 enumeration
values not handled in switch: 'IF_NONE', 'IF_LABEL', 'IF_EN9'...
[-Werror,-Wswitch]
```

Commit migrated from https://github.com/dotnet/coreclr/commit/f620099b3fafff396ebd43ffc54407e2a34c56ac

src/coreclr/src/jit/emit.h

index ea9d19b..c8de077 100644 (file)
@@ -1005,6 +1005,8 @@ protected:
                                                                 size = 8;
                                                             }
                                                             break;
+                                                        default:
+                                                            break;
                                                     }
 
                                                     return size;