Commit 344e534b authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Change a static_cast to BitCast

Hopefuly this will make the Win32 builder happy

TBR=ricow@chromium.org
Review URL: http://codereview.chromium.org/6038007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6179 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3055ca21
...@@ -5003,9 +5003,9 @@ void InstanceofStub::Generate(MacroAssembler* masm) { ...@@ -5003,9 +5003,9 @@ void InstanceofStub::Generate(MacroAssembler* masm) {
static const int kDeltaToCmpImmediate = 2; static const int kDeltaToCmpImmediate = 2;
static const int kDeltaToMov = 8; static const int kDeltaToMov = 8;
static const int kDeltaToMovImmediate = 9; static const int kDeltaToMovImmediate = 9;
static const int8_t kCmpEdiImmediateByte1 = static_cast<int8_t>(0x81); static const int8_t kCmpEdiImmediateByte1 = BitCast<int8_t, uint8_t>(0x81);
static const int8_t kCmpEdiImmediateByte2 = static_cast<int8_t>(0xff); static const int8_t kCmpEdiImmediateByte2 = BitCast<int8_t, uint8_t>(0xff);
static const int8_t kMovEaxImmediateByte = static_cast<int8_t>(0xb8); static const int8_t kMovEaxImmediateByte = BitCast<int8_t, uint8_t>(0xb8);
ExternalReference roots_address = ExternalReference::roots_address(); ExternalReference roots_address = ExternalReference::roots_address();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment