| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
| 9 #include "src/frames-inl.h" | 9 #include "src/frames-inl.h" |
| 10 #include "src/runtime/runtime.h" | |
| 11 #include "src/runtime/runtime-utils.h" | 10 #include "src/runtime/runtime-utils.h" |
| 12 #include "src/scopeinfo.h" | 11 #include "src/scopeinfo.h" |
| 13 #include "src/scopes.h" | 12 #include "src/scopes.h" |
| 14 | 13 |
| 15 namespace v8 { | 14 namespace v8 { |
| 16 namespace internal { | 15 namespace internal { |
| 17 | 16 |
| 18 static Object* ThrowRedeclarationError(Isolate* isolate, Handle<String> name) { | 17 static Object* ThrowRedeclarationError(Isolate* isolate, Handle<String> name) { |
| 19 HandleScope scope(isolate); | 18 HandleScope scope(isolate); |
| 20 Handle<Object> args[1] = {name}; | 19 Handle<Object> args[1] = {name}; |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 return Smi::FromInt(frame->GetArgumentsLength()); | 1019 return Smi::FromInt(frame->GetArgumentsLength()); |
| 1021 } | 1020 } |
| 1022 | 1021 |
| 1023 | 1022 |
| 1024 RUNTIME_FUNCTION(RuntimeReference_Arguments) { | 1023 RUNTIME_FUNCTION(RuntimeReference_Arguments) { |
| 1025 SealHandleScope shs(isolate); | 1024 SealHandleScope shs(isolate); |
| 1026 return __RT_impl_Runtime_GetArgumentsProperty(args, isolate); | 1025 return __RT_impl_Runtime_GetArgumentsProperty(args, isolate); |
| 1027 } | 1026 } |
| 1028 } | 1027 } |
| 1029 } // namespace v8::internal | 1028 } // namespace v8::internal |
| OLD | NEW |