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

Unified Diff: src/conversions-inl.h

Issue 1512903002: [v8natives.js] updating comments to ES6 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: even less parseInt code changes Created 5 years 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
« no previous file with comments | « src/conversions.cc ('k') | src/js/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/conversions-inl.h
diff --git a/src/conversions-inl.h b/src/conversions-inl.h
index 35695cd75b544fa0578a45fd4ba18db028fc6c70..3e56799bc9bab501f43f6be91321d0c694336fa0 100644
--- a/src/conversions-inl.h
+++ b/src/conversions-inl.h
@@ -294,7 +294,7 @@ double InternalStringToIntDouble(UnicodeCache* unicode_cache,
return std::ldexp(static_cast<double>(negative ? -number : number), exponent);
}
-
+// ES6 18.2.5 parseInt(string, radix)
template <class Iterator, class EndMark>
double InternalStringToInt(UnicodeCache* unicode_cache,
Iterator current,
« no previous file with comments | « src/conversions.cc ('k') | src/js/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698