Bug 1510018: Fix error in callVM comment r=nbp DONTBUILD
authorMatthew Gaudet <mgaudet@mozilla.com>
Wed, 28 Nov 2018 10:28:57 +0000
changeset 504924 6adfb885abd523d418b0919cabd04b4a22472a25
parent 504923 de432b1f84fcb772f1432fba941246782f1ab1d0
child 504925 1f338cc3d9bbd955bc5b692cd09d13c4606a5cff
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1510018
milestone65.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 1510018: Fix error in callVM comment r=nbp DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D13106
js/src/jit/VMFunctions.h
--- a/js/src/jit/VMFunctions.h
+++ b/js/src/jit/VMFunctions.h
@@ -93,17 +93,17 @@ enum MaybeTailCall : bool {
 //
 // Different JIT compilers in SpiderMonkey have their own implementations of
 // callVM to consume VMFunctions. However, the general shape of them is that
 // arguments that don't include the JIT Context or trailing out-param are pushed
 // on to the stack from right to left (rightmost argument is pushed first).
 //
 // Regardless of return value protocol being used (final outParam, or return
 // value) the generated trampolines ensure the return value ends up in
-// JSReturnReg, ReturnReg or ReturnDoubleReg.
+// JSReturnOperand, ReturnReg or ReturnDoubleReg.
 //
 // Example:
 //
 // The details will differ slightly between the different compilers in
 // SpiderMonkey, but the general shape of our usage looks like this:
 //
 // Suppose we have a function Foo:
 //