mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix Windows 32-bit bootimage build regression
This commit is contained in:
parent
651145bd61
commit
54b560b149
@ -51,8 +51,6 @@ namespace avian {
|
|||||||
namespace codegen {
|
namespace codegen {
|
||||||
namespace x86 {
|
namespace x86 {
|
||||||
|
|
||||||
const RegisterFile MyRegisterFile(GeneralRegisterMask, FloatRegisterMask);
|
|
||||||
|
|
||||||
const unsigned FrameHeaderSize = (UseFramePointer ? 2 : 1);
|
const unsigned FrameHeaderSize = (UseFramePointer ? 2 : 1);
|
||||||
|
|
||||||
const unsigned StackAlignmentInBytes = 16;
|
const unsigned StackAlignmentInBytes = 16;
|
||||||
@ -152,7 +150,8 @@ class MyArchitecture: public Architecture {
|
|||||||
public:
|
public:
|
||||||
MyArchitecture(System* system, bool useNativeFeatures):
|
MyArchitecture(System* system, bool useNativeFeatures):
|
||||||
c(system, useNativeFeatures),
|
c(system, useNativeFeatures),
|
||||||
referenceCount(0)
|
referenceCount(0),
|
||||||
|
myRegisterFile(GeneralRegisterMask, useSSE(&c) ? FloatRegisterMask : 0)
|
||||||
{
|
{
|
||||||
populateTables(&c);
|
populateTables(&c);
|
||||||
}
|
}
|
||||||
@ -166,7 +165,7 @@ class MyArchitecture: public Architecture {
|
|||||||
}
|
}
|
||||||
|
|
||||||
virtual const RegisterFile* registerFile() {
|
virtual const RegisterFile* registerFile() {
|
||||||
return &MyRegisterFile;
|
return &myRegisterFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual int scratch() {
|
virtual int scratch() {
|
||||||
@ -805,6 +804,7 @@ class MyArchitecture: public Architecture {
|
|||||||
|
|
||||||
ArchitectureContext c;
|
ArchitectureContext c;
|
||||||
unsigned referenceCount;
|
unsigned referenceCount;
|
||||||
|
const RegisterFile myRegisterFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MyAssembler: public Assembler {
|
class MyAssembler: public Assembler {
|
||||||
|
Loading…
Reference in New Issue
Block a user