[gjs/wip/ptomato/mozjs38: 12/23] js: Rename JS_CallHeapFooTracer()
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs38: 12/23] js: Rename JS_CallHeapFooTracer()
- Date: Wed, 18 Jan 2017 07:39:07 +0000 (UTC)
commit e76938b976dc22f40b3ab070e5397ba91740577e
Author: Philip Chimento <philip chimento gmail com>
Date: Wed Jan 11 22:59:25 2017 -0800
js: Rename JS_CallHeapFooTracer()
The various flavours of JS_CallHeapFooTracer() are now called
JS_CallFooTracer() in SpiderMonkey 38.
gi/boxed.cpp | 8 ++++----
gi/closure.cpp | 2 +-
gi/fundamental.cpp | 4 ++--
gi/keep-alive.cpp | 2 +-
gjs/context.cpp | 2 +-
gjs/coverage.cpp | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index 9a76d5e..ed1b8ec 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -876,10 +876,10 @@ boxed_trace(JSTracer *tracer,
if (priv == NULL)
return;
- JS_CallHeapIdTracer(tracer, &priv->zero_args_constructor_name,
- "Boxed::zero_args_constructor_name");
- JS_CallHeapIdTracer(tracer, &priv->default_constructor_name,
- "Boxed::default_constructor_name");
+ JS_CallIdTracer(tracer, &priv->zero_args_constructor_name,
+ "Boxed::zero_args_constructor_name");
+ JS_CallIdTracer(tracer, &priv->default_constructor_name,
+ "Boxed::default_constructor_name");
}
/* The bizarre thing about this vtable is that it applies to both
diff --git a/gi/closure.cpp b/gi/closure.cpp
index 3747296..e95e4a4 100644
--- a/gi/closure.cpp
+++ b/gi/closure.cpp
@@ -360,7 +360,7 @@ gjs_closure_trace(GClosure *closure,
if (c->obj == NULL)
return;
- JS_CallHeapObjectTracer(tracer, &c->obj, "signal connection");
+ JS_CallObjectTracer(tracer, &c->obj, "signal connection");
}
GClosure*
diff --git a/gi/fundamental.cpp b/gi/fundamental.cpp
index 91d2efe..e29be8b 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -518,8 +518,8 @@ fundamental_trace(JSTracer *tracer,
if (priv == NULL)
return;
- JS_CallHeapIdTracer(tracer, &priv->constructor_name,
- "Fundamental::constructor_name");
+ JS_CallIdTracer(tracer, &priv->constructor_name,
+ "Fundamental::constructor_name");
}
/* The bizarre thing about this vtable is that it applies to both
diff --git a/gi/keep-alive.cpp b/gi/keep-alive.cpp
index d9e7fa5..5bcdab4 100644
--- a/gi/keep-alive.cpp
+++ b/gi/keep-alive.cpp
@@ -121,7 +121,7 @@ trace_foreach(void *key,
JSTracer *tracer = (JSTracer *) data;
if (child->child != NULL) {
- JS_CallHeapObjectTracer(tracer, &child->child, "keep-alive::val");
+ JS_CallObjectTracer(tracer, &child->child, "keep-alive::val");
}
}
diff --git a/gjs/context.cpp b/gjs/context.cpp
index 35693d8..7c17fa5 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -368,7 +368,7 @@ static void
gjs_context_tracer(JSTracer *trc, void *data)
{
GjsContext *gjs_context = reinterpret_cast<GjsContext *>(data);
- JS_CallHeapObjectTracer(trc, &gjs_context->global, "GJS global object");
+ JS_CallObjectTracer(trc, &gjs_context->global, "GJS global object");
}
static void
diff --git a/gjs/coverage.cpp b/gjs/coverage.cpp
index 5775c35..6289e48 100644
--- a/gjs/coverage.cpp
+++ b/gjs/coverage.cpp
@@ -1498,7 +1498,7 @@ coverage_statistics_tracer(JSTracer *trc, void *data)
GjsCoverage *coverage = (GjsCoverage *) data;
GjsCoveragePrivate *priv = (GjsCoveragePrivate *) gjs_coverage_get_instance_private(coverage);
- JS_CallHeapObjectTracer(trc, &priv->coverage_statistics, "coverage_statistics");
+ JS_CallObjectTracer(trc, &priv->coverage_statistics, "coverage_statistics");
}
/* This function is mainly used in the tests in order to fiddle with
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]