No Bug - Fix up some function names that appear in comments; r=meow

--HG--
extra : rebase_source : c71365b5b3aeb504318ad4720e76b3d0b75b50b9
This commit is contained in:
Terrence Cole 2016-07-22 10:50:26 -07:00
Родитель f3ec60ef5f
Коммит c3a5940060
5 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -381,8 +381,8 @@ typedef bool
/**
* Function type for trace operation of the class called to enumerate all
* traceable things reachable from obj's private data structure. For each such
* thing, a trace implementation must call one of the JS_Call*Tracer variants
* on the thing.
* thing, a trace implementation must call JS::TraceEdge on the thing's
* location.
*
* JSTraceOp implementation can assume that no other threads mutates object
* state. It must not change state of the object or corresponding native

Просмотреть файл

@ -1592,7 +1592,7 @@ JS_strdup(JSRuntime* rt, const char* s);
* Register externally maintained GC roots.
*
* traceOp: the trace operation. For each root the implementation should call
* JS_CallTracer whenever the root contains a traceable thing.
* JS::TraceEdge whenever the root contains a traceable thing.
* data: the data argument to pass to each invocation of traceOp.
*/
extern JS_PUBLIC_API(bool)

Просмотреть файл

@ -118,8 +118,8 @@ typedef JSConstScalarSpec<double> JSConstDoubleSpec;
typedef JSConstScalarSpec<int32_t> JSConstIntegerSpec;
/*
* Generic trace operation that calls JS_CallTracer on each traceable thing
* stored in data.
* Generic trace operation that calls JS::TraceEdge on each traceable thing's
* location reachable from data.
*/
typedef void
(* JSTraceDataOp)(JSTracer* trc, void* data);

Просмотреть файл

@ -6,7 +6,7 @@
//-----------------------------------------------------------------------------
var BUGNUMBER = 387955;
var summary = 'Do not Crash [@ JS_CallTracer]';
var summary = 'Do not Crash [@ TraceEdge]';
var actual = 'No Crash';
var expect = 'No Crash';

Просмотреть файл

@ -6,7 +6,7 @@
//-----------------------------------------------------------------------------
var BUGNUMBER = 387955;
var summary = 'Do not Crash [@ JS_CallTracer]';
var summary = 'Do not Crash [@ TraceEdge]';
var actual = 'No Crash';
var expect = 'No Crash';