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

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

Issue 2414373002: Revert of Improve CodeStubAssembler assert functionality (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index f23be2ee91a1a8f97b4a94a52d95bfa544b1cee8..b5642d4badeaf3c73174e7788f1d37c2088c9108 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -147,8 +147,7 @@
compiler::Node* InnerAllocate(compiler::Node* previous,
compiler::Node* offset);
- void Assert(compiler::Node* condition, const char* string = nullptr,
- const char* file = nullptr, int line = 0);
+ void Assert(compiler::Node* condition);
// Check a value for smi-ness
compiler::Node* TaggedIsSmi(compiler::Node* a);
@@ -991,8 +990,6 @@
static const int kElementLoopUnrollThreshold = 8;
};
-#define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__)
-
DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
} // namespace internal
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698