Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: src/builtins.cc

Issue 1651913005: [runtime] Fix integer indexed property handling (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/lookup.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/builtins.h" 5 #include "src/builtins.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/base/once.h" 10 #include "src/base/once.h"
(...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after
1971 "Reflect.get"))); 1971 "Reflect.get")));
1972 } 1972 }
1973 1973
1974 Handle<Name> name; 1974 Handle<Name> name;
1975 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, name, 1975 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, name,
1976 Object::ToName(isolate, key)); 1976 Object::ToName(isolate, key));
1977 1977
1978 Handle<Object> result; 1978 Handle<Object> result;
1979 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( 1979 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
1980 isolate, result, Object::GetPropertyOrElement( 1980 isolate, result, Object::GetPropertyOrElement(
1981 Handle<JSReceiver>::cast(target), name, receiver)); 1981 receiver, name, Handle<JSReceiver>::cast(target)));
1982 1982
1983 return *result; 1983 return *result;
1984 } 1984 }
1985 1985
1986 1986
1987 // ES6 section 26.1.7 Reflect.getOwnPropertyDescriptor 1987 // ES6 section 26.1.7 Reflect.getOwnPropertyDescriptor
1988 BUILTIN(ReflectGetOwnPropertyDescriptor) { 1988 BUILTIN(ReflectGetOwnPropertyDescriptor) {
1989 HandleScope scope(isolate); 1989 HandleScope scope(isolate);
1990 DCHECK_EQ(3, args.length()); 1990 DCHECK_EQ(3, args.length());
1991 Handle<Object> target = args.at<Object>(1); 1991 Handle<Object> target = args.at<Object>(1);
(...skipping 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after
4202 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 4202 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
4203 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 4203 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
4204 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 4204 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
4205 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 4205 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
4206 #undef DEFINE_BUILTIN_ACCESSOR_C 4206 #undef DEFINE_BUILTIN_ACCESSOR_C
4207 #undef DEFINE_BUILTIN_ACCESSOR_A 4207 #undef DEFINE_BUILTIN_ACCESSOR_A
4208 4208
4209 4209
4210 } // namespace internal 4210 } // namespace internal
4211 } // namespace v8 4211 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/lookup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698