Skip to content

Instantly share code, notes, and snippets.

@anba

anba/opal.diff Secret

Created February 10, 2014 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anba/dd9f35d63ca3d21df6a4 to your computer and use it in GitHub Desktop.
Save anba/dd9f35d63ca3d21df6a4 to your computer and use it in GitHub Desktop.
--- opal-orig.js 2014-02-10 18:34:16.493742000 +0100
+++ opal.js 2014-02-10 18:37:39.227193495 +0100
@@ -681,6 +681,7 @@
// }
if (included_in) {
+ print("loop-start, included_in.length=" + included_in.length);
for (var i = 0, length = included_in.length; i < length; i++) {
var includee = included_in[i];
var dest = includee._proto;
@@ -695,6 +696,7 @@
Opal.donate(includee, defined, true);
}
}
+ print("loop-done");
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment