Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit 14e4556

Browse files
author
bors-servo
authored
Auto merge of #279 - servo:smup-201607, r=nox
Update SpiderMonkey to m-c bcf4ff0c3eef. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/279) <!-- Reviewable:end -->
2 parents 09be2e8 + 2b0e631 commit 14e4556

13 files changed

+7045
-6763
lines changed

makefile.cargo

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ endif
1313
CFLAGS += -std=c++11 -DJS_NO_JSVAL_JSID_STRUCT_TYPES
1414

1515
ifneq ("$(MSYSTEM)","")
16-
OUT_DIR := $(shell cygpath "$(OUT_DIR)")
16+
OUT_DIR := $(shell cygpath -m "$(OUT_DIR)")
17+
DEP_MOZJS_OUTDIR := $(shell cygpath -m "$(DEP_MOZJS_OUTDIR)")
1718
else # not msys/mingw64
1819
CFLAGS += -fPIC
1920
endif

src/consts.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use jsapi::{JSCLASS_RESERVED_SLOTS_WIDTH, JSProtoKey};
77
use libc::c_uint;
88

99
pub const default_heapsize: u32 = 32_u32 * 1024_u32 * 1024_u32;
10-
pub const default_stacksize: usize = 8192;
1110

1211
pub const JSCLASS_IS_DOMJSCLASS: c_uint = 1 << 4;
1312
pub const JSCLASS_USERBIT1: c_uint = 1 << 7;

src/glue.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ pub struct ProxyTraps {
4444
proxy: HandleObject,
4545
objp: MutableHandleObject)
4646
-> bool>,
47+
pub getPrototypeIfOrdinary: ::std::option::Option<unsafe extern "C" fn
48+
(cx: *mut JSContext,
49+
proxy: HandleObject,
50+
isOrdinary: *mut bool,
51+
protop: MutableHandleObject)
52+
-> bool>,
4753
pub preventExtensions: ::std::option::Option<unsafe extern "C" fn
4854
(cx: *mut JSContext,
4955
proxy: HandleObject,
@@ -108,7 +114,7 @@ pub struct ProxyTraps {
108114
bp: *mut bool) -> bool>,
109115
pub objectClassIs: ::std::option::Option<unsafe extern "C" fn
110116
(obj: HandleObject,
111-
classValue: ESClassValue,
117+
classValue: ESClass,
112118
cx: *mut JSContext) -> bool>,
113119
pub className: ::std::option::Option<unsafe extern "C" fn
114120
(cx: *mut JSContext,

0 commit comments

Comments
 (0)