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

Unified Diff: src/code-stub-assembler.cc

Issue 2709773002: [builtins] (Re-)implement Array.prototype.every/some with the CSA (Closed)
Patch Set: Add some Created 3 years, 10 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/code-stub-assembler.cc
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc
index 1c3359b982f4a77aa7c6068922c573b8e14022eb..9965c89be0967b7eae4ca93b804e3c8a8df11fc8 100644
--- a/src/code-stub-assembler.cc
+++ b/src/code-stub-assembler.cc
@@ -8381,17 +8381,14 @@ Node* CodeStubAssembler::MarkerIsNotFrameType(Node* marker_or_function,
}
void CodeStubAssembler::Print(const char* s) {
-#ifdef DEBUG
Igor Sheludko 2017/03/10 14:14:45 Spurious change here and below?
danno 2017/03/13 07:22:06 Done.
std::string formatted(s);
formatted += "\n";
Handle<String> string = isolate()->factory()->NewStringFromAsciiChecked(
formatted.c_str(), TENURED);
CallRuntime(Runtime::kGlobalPrint, NoContextConstant(), HeapConstant(string));
-#endif
}
void CodeStubAssembler::Print(const char* prefix, Node* tagged_value) {
-#ifdef DEBUG
if (prefix != nullptr) {
std::string formatted(prefix);
formatted += ": ";
@@ -8401,7 +8398,6 @@ void CodeStubAssembler::Print(const char* prefix, Node* tagged_value) {
HeapConstant(string));
}
CallRuntime(Runtime::kDebugPrint, NoContextConstant(), tagged_value);
-#endif
}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698