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

Side by Side Diff: src/extensions/trigger-failure-extension.cc

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | src/factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/extensions/trigger-failure-extension.h" 5 #include "src/extensions/trigger-failure-extension.h"
6 #include "src/v8.h" 6 #include "src/v8.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 38
39 void TriggerFailureExtension::TriggerCheckFalse( 39 void TriggerFailureExtension::TriggerCheckFalse(
40 const v8::FunctionCallbackInfo<v8::Value>& args) { 40 const v8::FunctionCallbackInfo<v8::Value>& args) {
41 CHECK(false); 41 CHECK(false);
42 } 42 }
43 43
44 44
45 void TriggerFailureExtension::TriggerAssertFalse( 45 void TriggerFailureExtension::TriggerAssertFalse(
46 const v8::FunctionCallbackInfo<v8::Value>& args) { 46 const v8::FunctionCallbackInfo<v8::Value>& args) {
47 ASSERT(false); 47 DCHECK(false);
48 } 48 }
49 49
50 50
51 void TriggerFailureExtension::TriggerSlowAssertFalse( 51 void TriggerFailureExtension::TriggerSlowAssertFalse(
52 const v8::FunctionCallbackInfo<v8::Value>& args) { 52 const v8::FunctionCallbackInfo<v8::Value>& args) {
53 SLOW_ASSERT(false); 53 SLOW_DCHECK(false);
54 } 54 }
55 55
56 } } // namespace v8::internal 56 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698