Bug 1275730: Update docs for Debugger's js::Env typedef. DONTBUILD r=fitzgen
authorJim Blandy <jimb@mozilla.com>
Wed, 25 May 2016 14:33:40 -0700
changeset 299129 3a42cbfb7f70656842e85facfe18b72ccd33baf8
parent 299128 701b27c4e27fa54b542064a170832465f15e7daf
child 299130 5a75edd0bfb2d36793c95735ad35e2c3153e53de
push id77451
push userjblandy@mozilla.com
push dateThu, 26 May 2016 13:47:13 +0000
treeherdermozilla-inbound@3a42cbfb7f70 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1275730
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1275730: Update docs for Debugger's js::Env typedef. DONTBUILD r=fitzgen
js/src/vm/Debugger.h
--- a/js/src/vm/Debugger.h
+++ b/js/src/vm/Debugger.h
@@ -205,20 +205,20 @@ class AutoSuppressDebuggeeNoExecuteCheck
 
     ~AutoSuppressDebuggeeNoExecuteChecks() {
         MOZ_ASSERT(!*stack_);
         *stack_ = prev_;
     }
 };
 
 /*
- * Env is the type of what ES5 calls "lexical environments" (runtime
- * activations of lexical scopes). This is currently just JSObject, and is
- * implemented by Call, Block, With, and DeclEnv objects, among others--but
- * environments and objects are really two different concepts.
+ * Env is the type of what ES5 calls "lexical environments" (runtime activations
+ * of lexical scopes). This is currently just JSObject, and is implemented by
+ * CallObject, ClonedBlockObject, DynamicWithObject, and DeclEnvObject, among
+ * others--but environments and objects are really two different concepts.
  */
 typedef JSObject Env;
 
 // Either a real JSScript or synthesized.
 //
 // If synthesized, the referent is one of the following:
 //
 //   1. A WasmModuleObject, denoting a synthesized toplevel wasm module