Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 367766 Details for
Bug 484502
net-libs/webkit-gtk-2.0.4 - ./DerivedSources/JavaScriptCore/LLIntAssembly.h:2548:33: error: 'Double2Ints' was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for upstream bug #112141
webkit-gtk-2.0.4-Double2Ints-32bit.patch (text/plain), 1.53 KB, created by
Rainer Ruecker
on 2014-01-13 06:34:06 UTC
(
hide
)
Description:
Patch for upstream bug #112141
Filename:
MIME Type:
Creator:
Rainer Ruecker
Created:
2014-01-13 06:34:06 UTC
Size:
1.53 KB
patch
obsolete
>diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp >index d3c73b0..186c659 100644 >--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp >+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp >@@ -117,6 +117,17 @@ static double Ints2Double(uint32_t lo, uint32_t hi) > u.ival64 = (static_cast<uint64_t>(hi) << 32) | lo; > return u.dval; > } >+ >+static void Double2Ints(double val, uint32_t& lo, uint32_t& hi) >+{ >+ union { >+ double dval; >+ uint64_t ival64; >+ } u; >+ u.dval = val; >+ hi = static_cast<uint32_t>(u.ival64 >> 32); >+ lo = static_cast<uint32_t>(u.ival64); >+} > #endif // USE(JSVALUE32_64) > > } // namespace LLint >diff --git a/Source/JavaScriptCore/offlineasm/cloop.rb b/Source/JavaScriptCore/offlineasm/cloop.rb >index 14cacb9..f6bd552 100644 >--- a/Source/JavaScriptCore/offlineasm/cloop.rb >+++ b/Source/JavaScriptCore/offlineasm/cloop.rb >@@ -1025,7 +1025,7 @@ class Instruction > # 32-bit instruction: f2dii dblOp int32LoOp int32HiOp (based on ARMv7) > # Encode a 64-bit double into 2 32-bit ints (low and high). > when "fd2ii" >- $asm.putc "Double2Ints(#{operands[0].clValue(:double)}, #{operands[1].clValue}, #{operands[2].clValue});" >+ $asm.putc "Double2Ints(#{operands[0].clValue(:double)}, #{operands[1].clValue(:uint32)}, #{operands[2].clValue(:uint32)});" > > # 64-bit instruction: fq2d int64Op dblOp (based on X64) > # Copy a bit-encoded double in a 64-bit int register to a double register.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 484502
:
358424
| 367766 |
367768