Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: src/runtime.js

Issue 1010673004: Tweak the TurboFan pipeline for stub compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed spurious edit Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/runtime.js
diff --git a/src/runtime.js b/src/runtime.js
index 7d82dfa8463fac3305ca98f42dd9a5545444a40c..21c96efc208b3942aeb6e6cf990ca4ae0c3d7193 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -694,3 +694,9 @@ function ToPositiveInteger(x, rangeErrorName) {
// that is cloned when running the code. It is essential that the
// boilerplate gets the right prototype.
%FunctionSetPrototype($Array, new $Array(0));
+
+
Michael Starzinger 2015/03/17 17:28:55 nit: Can we put in a separator comment here like t
Sven Panne 2015/03/18 08:45:55 Done.
+function StringLengthStub(name) {
Michael Starzinger 2015/03/17 17:28:55 nit: Also maybe make this one function all-upperca
Sven Panne 2015/03/18 08:45:55 Done.
+ var receiver = this; // implicit first parameter
+ return %_StringLength(%_JSValueValue(receiver));
+}
« src/compiler/pipeline.cc ('K') | « src/hydrogen.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698