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 |