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 "trigger-failure-extension.h" | 5 #include "src/extensions/trigger-failure-extension.h" |
6 #include "v8.h" | 6 #include "src/v8.h" |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
11 | 11 |
12 const char* const TriggerFailureExtension::kSource = | 12 const char* const TriggerFailureExtension::kSource = |
13 "native function triggerCheckFalse();" | 13 "native function triggerCheckFalse();" |
14 "native function triggerAssertFalse();" | 14 "native function triggerAssertFalse();" |
15 "native function triggerSlowAssertFalse();"; | 15 "native function triggerSlowAssertFalse();"; |
16 | 16 |
(...skipping 30 matching lines...) Expand all Loading... |
47 ASSERT(false); | 47 ASSERT(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_ASSERT(false); |
54 } | 54 } |
55 | 55 |
56 } } // namespace v8::internal | 56 } } // namespace v8::internal |
OLD | NEW |