| 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 |
| 7 #include "src/base/logging.h" |
| 8 #include "src/checks.h" |
| 7 | 9 |
| 8 namespace v8 { | 10 namespace v8 { |
| 9 namespace internal { | 11 namespace internal { |
| 10 | 12 |
| 11 | 13 |
| 12 const char* const TriggerFailureExtension::kSource = | 14 const char* const TriggerFailureExtension::kSource = |
| 13 "native function triggerCheckFalse();" | 15 "native function triggerCheckFalse();" |
| 14 "native function triggerAssertFalse();" | 16 "native function triggerAssertFalse();" |
| 15 "native function triggerSlowAssertFalse();"; | 17 "native function triggerSlowAssertFalse();"; |
| 16 | 18 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 } | 49 } |
| 48 | 50 |
| 49 | 51 |
| 50 void TriggerFailureExtension::TriggerSlowAssertFalse( | 52 void TriggerFailureExtension::TriggerSlowAssertFalse( |
| 51 const v8::FunctionCallbackInfo<v8::Value>& args) { | 53 const v8::FunctionCallbackInfo<v8::Value>& args) { |
| 52 SLOW_DCHECK(false); | 54 SLOW_DCHECK(false); |
| 53 } | 55 } |
| 54 | 56 |
| 55 } // namespace internal | 57 } // namespace internal |
| 56 } // namespace v8 | 58 } // namespace v8 |
| OLD | NEW |