OLD | NEW |
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 Loading... |
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 |
OLD | NEW |