[gjs/wip/ptomato/mozjs38: 5/17] js: Rename JS_CallHeapFooTracer()
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs38: 5/17] js: Rename JS_CallHeapFooTracer()
- Date: Thu, 12 Jan 2017 07:48:29 +0000 (UTC)
commit f28ae2bd487daa34ac894ecddba30f1668c2180a
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 ++--
gjs/context.cpp | 2 +-
gjs/coverage.cpp | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index f858531..a36c4f5 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -873,10 +873,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 829a436..7925835 100644
--- a/gi/closure.cpp
+++ b/gi/closure.cpp
@@ -338,7 +338,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 d7b3f1f..4a04bae 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -517,8 +517,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/gjs/context.cpp b/gjs/context.cpp
index fe74d17..195c82f 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -371,7 +371,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 e50703f..b37e97f 100644
--- a/gjs/coverage.cpp
+++ b/gjs/coverage.cpp
@@ -1497,7 +1497,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]