зеркало из https://github.com/mozilla/pjs.git
Bug 737344 make the jsval_layout field in JS::Value public on SPARC for binary compatibility across C and C++ r=luke
This commit is contained in:
Родитель
d03fee5100
Коммит
8bc89fbdfa
|
@ -629,10 +629,11 @@ class Value
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#if !defined(_MSC_VER) && !defined(__sparc)
|
||||
/* To make jsval binary compatible when linking across C and C++ with MSVC,
|
||||
* JS::Value needs to be POD. Otherwise, jsval will be passed in memory
|
||||
* in C++ but by value in C (bug 645111).
|
||||
* Same issue for SPARC ABI. (bug 737344).
|
||||
*/
|
||||
private:
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче