Created
February 20, 2017 15:27
-
-
Save washu/4083ea91ee20706ba17467329887480d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | |
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","errorBeacon":"bam.nr-data.net","licenseKey":"c5ea8cbb08","applicationID":"3433522","transactionName":"dFheEEdWXl9SEEtQF0NWUwxYXFxHRE0XWQxA","queueTime":0,"applicationTime":83,"agent":""}</script> | |
<script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"VQUEVFFTGwAEV1JXBQM="};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(12),c={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(c.console=!0,o.indexOf("dev")!==-1&&(c.dev=!0),o.indexOf("nr_dev")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&i.on("internal-error",function(t){r(t.stack)}),c.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),c.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(c,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,o){try{d?d-=1:i("err",[o||new UncaughtException(t,e,n)])}catch(c){try{i("ierr",[c,(new Date).getTime(),!0])}catch(s){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t){i("err",[t,(new Date).getTime()])}var i=t("handle"),a=t(13),c=t("ee"),s=t("loader"),f=window.onerror,u=!1,d=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(l){"stack"in l&&(t(5),t(4),"addEventListener"in window&&t(3),s.xhrWrappable&&t(6),u=!0)}c.on("fn-start",function(t,e,n){u&&(d+=1)}),c.on("fn-err",function(t,e,n){u&&(this.thrown=!0,o(n))}),c.on("fn-end",function(){u&&!this.thrown&&d>0&&(d-=1)}),c.on("internal-error",function(t){i("ierr",[t,(new Date).getTime(),!0])})},{}],3:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){c.inPlace(t,[u,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),c=t(14)(a,!0),s=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,e){var n=t[1],r=s(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?c(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],4:[function(t,e,n){var r=t("ee").get("raf"),o=t(14)(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],5:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration="number"==typeof t[1]?t[1]:0,t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t(14)(i),c="setTimeout",s="setInterval",f="clearTimeout",u="-start",d="-";e.exports=i,a.inPlace(window,[c,"setImmediate"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(s+u,r),i.on(c+u,o)},{}],6:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",c)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,v,"fn-",c)}function i(t){y.push(t),h&&(w=-w,b.data=w)}function a(){for(var t=0;t<y.length;t++)r([],y[t]);y.length&&(y=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(3);var f=t("ee"),u=f.get("xhr"),d=t(14)(u),l=NREUM.o,p=l.XHR,h=l.MO,m="readystatechange",v=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],y=[];e.exports=u;var g=window.XMLHttpRequest=function(t){var e=new p(t);try{u.emit("new-xhr",[e],e),e.addEventListener(m,o,!1)}catch(n){try{u.emit("internal-error",[n])}catch(r){}}return e};if(s(p,g),g.prototype=p.prototype,d.inPlace(g.prototype,["open","send"],"-xhr-",c),u.on("send-xhr-start",function(t,e){r(t,e),i(e)}),u.on("open-xhr-start",r),h){var w=1,b=document.createTextNode(w);new h(a).observe(b,{characterData:!0})}else f.on("fn-end",function(t){t[0]&&t[0].type===m||a()})},{}],7:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!e.aborted){if(n.duration=(new Date).getTime()-this.startTime,4===t.readyState){e.status=t.status;var i=o(t,this.lastSize);if(i&&(n.rxSize=i),this.sameOrigin){var a=t.getResponseHeader("X-NewRelic-App-Data");a&&(e.cat=a.split(", ").pop())}}else e.status=0;n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),c("xhr",[e,n,this.startTime])}}}function o(t,e){var n=t.responseType;if("json"===n&&null!==e)return e;var r="arraybuffer"===n||"blob"===n||"json"===n?t.response:t.responseText;return h(r)}function i(t,e){var n=s(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}var a=t("loader");if(a.xhrWrappable){var c=t("handle"),s=t(8),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,l=t("id"),p=t(11),h=t(10),m=window.XMLHttpRequest;a.features.xhr=!0,t(6),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,p&&(p>34||p<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=h(r);i&&(n.txSize=i)}this.startTime=(new Date).getTime(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var a=0;a<d;a++)e.addEventListener(u[a],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof m&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=(new Date).getTime()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[(new Date).getTime()-this.xhrCbStart,this.onload,e],e)})}},{}],8:[function(t,e,n){e.exports=function(t){var e=document.createElement("a"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!e.protocol||":"===e.protocol||e.protocol===n.protocol,a=e.hostname===document.domain&&e.port===n.port;return r.sameOrigin=i&&(!e.hostname||a),r}},{}],9:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[(new Date).getTime()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(12),c=t(13),s=t("ee").get("tracer"),f=NREUM;"undefined"==typeof window.newrelic&&(newrelic=f);var u=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],d="api-",l=d+"ixn-";a(u,function(t,e){f[e]=o(d+e,!0,"api")}),f.addPageAction=o(d+"addPageAction",!0),f.setCurrentRouteName=o(d+"routeName",!0),e.exports=newrelic,f.interaction=function(){return(new r).get()};var p=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(l+"tracer",[Date.now(),t,n],r),function(){if(s.emit((o?"":"no-")+"fn-start",[Date.now(),r,o],n),o)try{return e.apply(this,arguments)}finally{s.emit("fn-end",[Date.now()],n)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){p[e]=o(l+e)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,(new Date).getTime()])}},{}],10:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],11:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],12:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],13:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],14:[function(t,e,n){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(13),a="nr@original",c=Object.prototype.hasOwnProperty,s=!1;e.exports=function(t,e){function n(t,e,n,o){function nrWrapper(){var r,a,c,s;try{a=this,r=i(arguments),c="function"==typeof n?n(r,a):n||{}}catch(f){l([f,"",[r,a,o],c])}u(e+"start",[r,a,o],c);try{return s=t.apply(a,r)}catch(d){throw u(e+"err",[r,a,d],c),d}finally{u(e+"end",[r,a,s],c)}}return r(t)?t:(e||(e=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,e,o,i){o||(o="");var a,c,s,f="-"===o.charAt(0);for(s=0;s<e.length;s++)c=e[s],a=t[c],r(a)||(t[c]=n(a,f?c+o:o,i,c))}function u(n,r,o){if(!s||e){var i=s;s=!0;try{t.emit(n,r,o)}catch(a){l([a,n,r,o])}s=i}}function d(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){l([r])}for(var o in t)c.call(t,o)&&(e[o]=t[o]);return e}function l(e){try{t.emit("internal-error",e)}catch(n){}}return t||(t=o),n.inPlace=f,n.flag=a,n}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?s(t,c,i):i()}function n(n,r,o){if(!l.aborted){t&&t(n,r,o);for(var i=e(o),a=h(n),c=a.length,s=0;s<c;s++)a[s].apply(i,r);var f=u[g[n]];return f&&f.push([w,n,r,i]),i}}function p(t,e){y[t]=h(t).concat(e)}function h(t){return y[t]||[]}function m(t){return d[t]=d[t]||o(n)}function v(t,e){f(t,function(t,n){e=e||"feature",g[n]=e,e in u||(u[e]=[])})}var y={},g={},w={on:p,emit:n,get:m,listeners:h,context:e,buffer:v,abort:a,aborted:!1};return w}function i(){return new r}function a(){(u.api||u.feature)&&(l.aborted=!0,u=l.backlog={})}var c="nr@context",s=t("gos"),f=t(12),u={},d={},l=e.exports=o();l.backlog=u},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!b++){var t=w.info=NREUM.info,e=d.getElementsByTagName("script")[0];if(setTimeout(f.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return f.abort();s(y,function(e,n){t[e]||(t[e]=n)}),c("mark",["onload",a()],null,"api");var n=d.createElement("script");n.src="https://"+t.agent,e.parentNode.insertBefore(n,e)}}function o(){"complete"===d.readyState&&i()}function i(){c("mark",["domContent",a()],null,"api")}function a(){return(new Date).getTime()}var c=t("handle"),s=t(12),f=t("ee"),u=window,d=u.document,l="addEventListener",p="attachEvent",h=u.XMLHttpRequest,m=h&&h.prototype;NREUM.o={ST:setTimeout,CT:clearTimeout,XHR:h,REQ:u.Request,EV:u.Event,PR:u.Promise,MO:u.MutationObserver},t(9);var v=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1016.min.js"},g=h&&m&&m[l]&&!/CriOS/.test(navigator.userAgent),w=e.exports={offset:a(),origin:v,features:{},xhrWrappable:g};d[l]?(d[l]("DOMContentLoaded",i,!1),u[l]("load",r,!1)):(d[p]("onreadystatechange",o),u[p]("onload",r)),c("mark",["firstbyte",a()],null,"api");var b=0},{}]},{},["loader",2,7]);</script> | |
<title>0001-forwardable-impl.rb-include-trace-instruction.patch - Ruby trunk - Ruby Issue Tracking System</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<meta name="description" content="Redmine" /> | |
<meta name="keywords" content="issue,bug,tracker" /> | |
<meta name="csrf-param" content="authenticity_token" /> | |
<meta name="csrf-token" content="VNuTVpSpS0hb0WOPv8VwWgqEpKwXzK3uMAmeJ271dHgQpso+o61FxQGBV0edsO7BiztZdWnv2YNIywoosofmng==" /> | |
<link rel='shortcut icon' href='/favicon.ico' /> | |
<link rel="stylesheet" media="all" href="/stylesheets/jquery/jquery-ui-1.11.0.css" /> | |
<link rel="stylesheet" media="all" href="/themes/ruby-lang/stylesheets/application.css" /> | |
<link rel="stylesheet" media="all" href="/stylesheets/responsive.css" /> | |
<script src="/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js"></script> | |
<script src="/javascripts/application.js"></script> | |
<script src="/javascripts/responsive.js"></script> | |
<script> | |
//<![CDATA[ | |
$(window).load(function(){ warnLeavingUnsaved('The current page contains unsaved text that will be lost if you leave this page.'); }); | |
//]]> | |
</script> | |
<link rel="stylesheet" media="screen" href="/plugin_assets/redmine_mailing_list_integration/stylesheets/mailing_list_integration.css" /> <script src="/plugin_assets/redmine_s3/javascripts/redmine_s3.js"></script> | |
<!-- page specific tags --> | |
<link rel="stylesheet" media="screen" href="/stylesheets/scm.css" /></head> | |
<body class="theme-Ruby-lang project-ruby-trunk controller-attachments action-show"> | |
<div id="wrapper"> | |
<div class="flyout-menu js-flyout-menu"> | |
<div class="flyout-menu__search"> | |
<form action="/projects/ruby-trunk/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" /> | |
<label class="search-magnifier search-magnifier--flyout" for="flyout-search">⚲</label> | |
<input type="text" name="q" id="flyout-search" class="small js-search-input" placeholder="Search" /> | |
</form> </div> | |
<h3>Project</h3> | |
<span class="js-project-menu"></span> | |
<h3>General</h3> | |
<span class="js-general-menu"></span> | |
<span class="js-sidebar flyout-menu__sidebar"></span> | |
<h3>Profile</h3> | |
<span class="js-profile-menu"></span> | |
</div> | |
<div id="wrapper2"> | |
<div id="wrapper3"> | |
<div id="top-menu"> | |
<div id="account"> | |
<ul><li><a class="login" href="/login">Sign in</a></li><li><a class="register" href="/account/register">Register</a></li></ul> </div> | |
<ul><li><a class="home" href="/">Home</a></li><li><a class="projects" href="/projects">Projects</a></li><li><a class="help" href="https://www.redmine.org/guide">Help</a></li></ul></div> | |
<div id="header"> | |
<a href="#" class="mobile-toggle-button js-flyout-menu-toggle-button"></a> | |
<div id="quick-search"> | |
<form action="/projects/ruby-trunk/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" /> | |
<label for='q'> | |
<a accesskey="4" href="/projects/ruby-trunk/search">Search</a>: | |
</label> | |
<input type="text" name="q" id="q" size="20" class="small" accesskey="f" /> | |
</form> | |
</div> | |
<h1><span class="breadcrumbs"><a class="root" href="/projects/ruby?jump=attachments">Ruby</a><span class="separator"> » </span></span><span class="current-project">Ruby trunk</span></h1> | |
<div id="main-menu" class="tabs"> | |
<ul><li><a class="overview" href="/projects/ruby-trunk">Overview</a></li><li><a class="activity" href="/projects/ruby-trunk/activity">Activity</a></li><li><a class="roadmap" href="/projects/ruby-trunk/roadmap">Roadmap</a></li><li><a class="issues" href="/projects/ruby-trunk/issues">Issues</a></li><li><a class="wiki" href="/projects/ruby-trunk/wiki">Wiki</a></li><li><a class="repository" href="/projects/ruby-trunk/repository">Repository</a></li></ul> | |
<div class="tabs-buttons" style="display:none;"> | |
<button class="tab-left" onclick="moveTabLeft(this); return false;"></button> | |
<button class="tab-right" onclick="moveTabRight(this); return false;"></button> | |
</div> | |
</div> | |
</div> | |
<div id="main" class="nosidebar"> | |
<div id="sidebar"> | |
</div> | |
<div id="content"> | |
<h2>0001-forwardable-impl.rb-include-trace-instruction.patch</h2> | |
<div class="attachments"> | |
<p> | |
<span class="author"><a class="user active" href="/users/11730">Eugene Kenny</a>, 01/08/2017 02:20 AM</span></p> | |
<p><a href="/attachments/download/6331/0001-forwardable-impl.rb-include-trace-instruction.patch">Download</a> <span class="size">(773 Bytes)</span></p> | |
</div> | |
<form action="/attachments/6331/0001-forwardable-impl.rb-include-trace-instruction.patch" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" /> | |
<p> | |
View differences: | |
<label><input type="radio" name="type" id="type_inline" value="inline" onchange="this.form.submit()" checked="checked" /> inline</label> | |
<label><input type="radio" name="type" id="type_sbs" value="sbs" onchange="this.form.submit()" /> side by side</label> | |
</p> | |
</form> | |
<div class="autoscroll"> | |
<table class="filecontent"> | |
<thead> | |
<tr> | |
<th colspan="3" class="filename"> | |
ext/rubyvm/lib/forwardable/impl.rb | |
</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<th class="line-num">12</th> | |
<th class="line-num">12</th> | |
<td class="line-code "> | |
<pre></pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">13</th> | |
<th class="line-num">13</th> | |
<td class="line-code "> | |
<pre> def self._compile_method(src, file, line)</pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">14</th> | |
<th class="line-num">14</th> | |
<td class="line-code "> | |
<pre> RubyVM::InstructionSequence.compile(src, file, file, line,</pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">15</th> | |
<th class="line-num"></th> | |
<td class="line-code diff_out"> | |
<pre> trace_instruction: false,</pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">16</th> | |
<th class="line-num">15</th> | |
<td class="line-code "> | |
<pre> tailcall_optimization: true)</pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">17</th> | |
<th class="line-num">16</th> | |
<td class="line-code "> | |
<pre> .eval</pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">18</th> | |
<th class="line-num">17</th> | |
<td class="line-code "> | |
<pre> end</pre> | |
</td> | |
</tr> | |
<tr> | |
<th class="line-num">19</th> | |
<th class="line-num"></th> | |
<td class="line-code diff_out"> | |
<pre>- </pre> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
<div style="clear:both;"></div> | |
</div> | |
</div> | |
</div> | |
<div id="ajax-indicator" style="display:none;"><span>Loading...</span></div> | |
<div id="ajax-modal" style="display:none;"></div> | |
<div id="footer"> | |
<div class="bgl"><div class="bgr"> | |
Powered by <a href="https://www.redmine.org/">Redmine</a> © 2006-2017 Jean-Philippe Lang | |
</div></div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> | |
From 4a14581afc9a7cf813e4fbb2bd94aad50688cade Mon Sep 17 00:00:00 2001 | |
From: Eugene Kenny <elkenny@gmail.com> | |
Date: Sun, 8 Jan 2017 00:53:37 +0000 | |
Subject: [PATCH] forwardable.rb: use public_send to call method | |
--- | |
lib/forwardable.rb | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/lib/forwardable.rb b/lib/forwardable.rb | |
index 3662f56011..663377b761 100644 | |
--- a/lib/forwardable.rb | |
+++ b/lib/forwardable.rb | |
@@ -209,7 +209,7 @@ def self._delegator_method(obj, accessor, method, ali) | |
::Kernel.warn "\#{caller_locations(1)[0]}: "#{mesg.dump}"\#{_.class}"'##{method}' | |
_#{method_call} | |
else | |
- _.#{method}(*args, &block) | |
+ _.public_send(:#{method}, *args, &block) | |
end | |
end; | |
end | |
-- | |
2.11.0 | |
--- trunk/vm_insnhelper.c 2016/12/08 05:16:33 57023 | |
+++ trunk/vm_insnhelper.c 2017/01/09 02:55:39 57293 | |
@@ -1538,8 +1538,6 @@ | |
vm_pop_frame(th, cfp, cfp->ep); | |
cfp = th->cfp; | |
- RUBY_VM_CHECK_INTS(th); | |
- | |
sp_orig = sp = cfp->sp; | |
/* push self */ | |
@@ -1558,6 +1556,8 @@ | |
iseq->body->stack_max); | |
cfp->sp = sp_orig; | |
+ RUBY_VM_CHECK_INTS(th); | |
+ | |
return Qundef; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment