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

Unified Diff: src/code-stubs.cc

Issue 1053143005: Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: MIPS port Created 5 years, 7 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
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index e3940dad649cb1de5b44bcb29431495d1afc58d5..93e86fde33846f3cf4b43f02d47a934a4262987e 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -538,6 +538,21 @@ Type* CompareNilICStub::GetInputType(Zone* zone, Handle<Map> map) {
}
+void CallIC_RoundStub::PrintState(std::ostream& os) const { // NOLINT
+ os << state() << " (Round)";
+}
+
+
+void CallIC_FloorStub::PrintState(std::ostream& os) const { // NOLINT
+ os << state() << " (Floor)";
+}
+
+
+void CallIC_CeilStub::PrintState(std::ostream& os) const { // NOLINT
+ os << state() << " (Ceil)";
+}
+
+
void CallIC_ArrayStub::PrintState(std::ostream& os) const { // NOLINT
os << state() << " (Array)";
}
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698