Skip to content

Commit

Permalink
Move _xopEquals into GDC block and add reference to bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JinShil committed Feb 8, 2019
1 parent d618190 commit 2f6419d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions source/runtime/object.d
Expand Up @@ -8,11 +8,6 @@ alias ptrdiff_t = typeof(cast(void*)0 - cast(void*)0);

alias string = immutable(char)[];

bool _xopEquals(in void*, in void*)
{
return false;
}

version(GNU)
{
private import gcc.attribute;
Expand All @@ -21,6 +16,12 @@ version(GNU)

private import gcc.builtins;
public alias alloca = __builtin_alloca;

// See https://bugzilla.gdcproject.org/show_bug.cgi?id=299
bool _xopEquals(in void*, in void*)
{
return false;
}
}

version(LDC)
Expand Down

0 comments on commit 2f6419d

Please sign in to comment.