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

Side by Side Diff: src/runtime/runtime-array.cc

Issue 983623002: Made the entries of the various *_FUNCTION_LISTs disjoint. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « src/runtime/runtime.cc ('k') | src/runtime/runtime-classes.cc » ('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 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/arguments.h" 7 #include "src/arguments.h"
8 #include "src/runtime/runtime-utils.h" 8 #include "src/runtime/runtime-utils.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 } 1315 }
1316 } else { 1316 } else {
1317 // No slow check needed for proxies. 1317 // No slow check needed for proxies.
1318 slow_check_needed = Smi::cast(*cache_type)->value() == 1; 1318 slow_check_needed = Smi::cast(*cache_type)->value() == 1;
1319 } 1319 }
1320 return MakePair(array->get(index), 1320 return MakePair(array->get(index),
1321 isolate->heap()->ToBoolean(slow_check_needed)); 1321 isolate->heap()->ToBoolean(slow_check_needed));
1322 } 1322 }
1323 1323
1324 1324
1325 RUNTIME_FUNCTION(RuntimeReference_IsArray) { 1325 RUNTIME_FUNCTION(Runtime_IsArray) {
1326 SealHandleScope shs(isolate); 1326 SealHandleScope shs(isolate);
1327 DCHECK(args.length() == 1); 1327 DCHECK(args.length() == 1);
1328 CONVERT_ARG_CHECKED(Object, obj, 0); 1328 CONVERT_ARG_CHECKED(Object, obj, 0);
1329 return isolate->heap()->ToBoolean(obj->IsJSArray()); 1329 return isolate->heap()->ToBoolean(obj->IsJSArray());
1330 } 1330 }
1331 1331
1332 1332
1333 RUNTIME_FUNCTION(RuntimeReference_HasCachedArrayIndex) { 1333 RUNTIME_FUNCTION(Runtime_HasCachedArrayIndex) {
1334 SealHandleScope shs(isolate); 1334 SealHandleScope shs(isolate);
1335 DCHECK(args.length() == 1); 1335 DCHECK(args.length() == 1);
1336 return isolate->heap()->false_value(); 1336 return isolate->heap()->false_value();
1337 } 1337 }
1338 1338
1339 1339
1340 RUNTIME_FUNCTION(RuntimeReference_GetCachedArrayIndex) { 1340 RUNTIME_FUNCTION(Runtime_GetCachedArrayIndex) {
1341 SealHandleScope shs(isolate); 1341 SealHandleScope shs(isolate);
1342 DCHECK(args.length() == 1); 1342 DCHECK(args.length() == 1);
1343 return isolate->heap()->undefined_value(); 1343 return isolate->heap()->undefined_value();
1344 } 1344 }
1345 1345
1346 1346
1347 RUNTIME_FUNCTION(RuntimeReference_FastOneByteArrayJoin) { 1347 RUNTIME_FUNCTION(Runtime_FastOneByteArrayJoin) {
1348 SealHandleScope shs(isolate); 1348 SealHandleScope shs(isolate);
1349 DCHECK(args.length() == 2); 1349 DCHECK(args.length() == 2);
1350 return isolate->heap()->undefined_value(); 1350 return isolate->heap()->undefined_value();
1351 } 1351 }
1352 } 1352 }
1353 } // namespace v8::internal 1353 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime/runtime.cc ('k') | src/runtime/runtime-classes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698