| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/runtime/runtime-utils.h" | 5 #include "src/runtime/runtime-utils.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "src/arguments.h" | 10 #include "src/arguments.h" |
| 11 #include "src/debug/debug.h" | 11 #include "src/debug/debug.h" |
| 12 #include "src/frames-inl.h" | 12 #include "src/frames-inl.h" |
| 13 #include "src/isolate-inl.h" |
| 13 #include "src/messages.h" | 14 #include "src/messages.h" |
| 14 #include "src/runtime/runtime.h" | 15 #include "src/runtime/runtime.h" |
| 15 | 16 |
| 16 namespace v8 { | 17 namespace v8 { |
| 17 namespace internal { | 18 namespace internal { |
| 18 | 19 |
| 19 | 20 |
| 20 RUNTIME_FUNCTION(Runtime_ThrowNonMethodError) { | 21 RUNTIME_FUNCTION(Runtime_ThrowNonMethodError) { |
| 21 HandleScope scope(isolate); | 22 HandleScope scope(isolate); |
| 22 DCHECK(args.length() == 0); | 23 DCHECK(args.length() == 0); |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 Handle<Object> result; | 558 Handle<Object> result; |
| 558 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( | 559 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
| 559 isolate, result, | 560 isolate, result, |
| 560 Execution::Call(isolate, reflect, isolate->factory()->undefined_value(), | 561 Execution::Call(isolate, reflect, isolate->factory()->undefined_value(), |
| 561 arraysize(argv), argv)); | 562 arraysize(argv), argv)); |
| 562 | 563 |
| 563 return *result; | 564 return *result; |
| 564 } | 565 } |
| 565 } // namespace internal | 566 } // namespace internal |
| 566 } // namespace v8 | 567 } // namespace v8 |
| OLD | NEW |