Bug 1517135: Remove dead declaration from BytecodeEmitter.h r=tcampbell
authorIain Ireland <iireland@mozilla.com>
Fri, 11 Jan 2019 16:36:40 +0000
changeset 453491 49bb9b849c4af957e6f51b16731b98ed0ef72e85
parent 453490 f65c31506e4994b8492444585670a6031744c610
child 453492 e4cbf560928e09c1d7003e5375a5601eabb79c61
push id35357
push usernerli@mozilla.com
push dateFri, 11 Jan 2019 21:54:07 +0000
treeherdermozilla-central@0ce024c91511 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcampbell
bugs1517135
milestone66.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 1517135: Remove dead declaration from BytecodeEmitter.h r=tcampbell Differential Revision: https://phabricator.services.mozilla.com/D16324
js/src/frontend/BytecodeEmitter.h
--- a/js/src/frontend/BytecodeEmitter.h
+++ b/js/src/frontend/BytecodeEmitter.h
@@ -473,19 +473,16 @@ struct MOZ_STACK_CLASS BytecodeEmitter {
                                 unsigned* indexp = nullptr);
   MOZ_MUST_USE bool newSrcNote3(SrcNoteType type, ptrdiff_t offset1,
                                 ptrdiff_t offset2, unsigned* indexp = nullptr);
 
   void copySrcNotes(jssrcnote* destination, uint32_t nsrcnotes);
   MOZ_MUST_USE bool setSrcNoteOffset(unsigned index, unsigned which,
                                      ptrdiff_t offset);
 
-  // NB: this function can add at most one extra extended delta note.
-  MOZ_MUST_USE bool addToSrcNoteDelta(jssrcnote* sn, ptrdiff_t delta);
-
   // Finish taking source notes in cx's notePool. If successful, the final
   // source note count is stored in the out outparam.
   MOZ_MUST_USE bool finishTakingSrcNotes(uint32_t* out);
 
   // Control whether emitTree emits a line number note.
   enum EmitLineNumberNote { EMIT_LINENOTE, SUPPRESS_LINENOTE };
 
   // Emit code for the tree rooted at pn.