Index: src/apinatives.js |
diff --git a/src/apinatives.js b/src/apinatives.js |
index ccbedd6d397455aa18f2b26bcda172683ba750c7..7811863da2d842df3ad0d5e03cf0fd8dc51be1c1 100644 |
--- a/src/apinatives.js |
+++ b/src/apinatives.js |
@@ -93,6 +93,7 @@ function InstantiateFunction(data, name) { |
%SetPrototype(fun.prototype, parent_fun.prototype); |
} |
ConfigureTemplateInstance(fun, data); |
+ cache[serialNumber] = %ToFastProperties(fun); |
Michael Starzinger
2013/08/20 17:05:41
It seems dangerous to re-set the cached value down
|
} catch (e) { |
cache[serialNumber] = kUninitialized; |
throw e; |