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-test.cc

Issue 1475953002: [stubs] A new approach to TF stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win64 build Created 5 years 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-internal.cc ('k') | src/snapshot/natives.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 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 "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/frames-inl.h" 9 #include "src/frames-inl.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 isolate->PrintStack(stderr); 371 isolate->PrintStack(stderr);
372 base::OS::Abort(); 372 base::OS::Abort();
373 UNREACHABLE(); 373 UNREACHABLE();
374 return NULL; 374 return NULL;
375 } 375 }
376 376
377 377
378 RUNTIME_FUNCTION(Runtime_NativeScriptsCount) { 378 RUNTIME_FUNCTION(Runtime_NativeScriptsCount) {
379 DCHECK(args.length() == 0); 379 DCHECK(args.length() == 0);
380 return Smi::FromInt(Natives::GetBuiltinsCount() + 380 return Smi::FromInt(Natives::GetBuiltinsCount() +
381 ExtraNatives::GetBuiltinsCount() + 381 ExtraNatives::GetBuiltinsCount());
382 CodeStubNatives::GetBuiltinsCount());
383 } 382 }
384 383
385 384
386 // Returns V8 version as a string. 385 // Returns V8 version as a string.
387 RUNTIME_FUNCTION(Runtime_GetV8Version) { 386 RUNTIME_FUNCTION(Runtime_GetV8Version) {
388 HandleScope scope(isolate); 387 HandleScope scope(isolate);
389 DCHECK(args.length() == 0); 388 DCHECK(args.length() == 0);
390 389
391 const char* version_string = v8::V8::GetVersion(); 390 const char* version_string = v8::V8::GetVersion();
392 391
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 RUNTIME_FUNCTION(Runtime_HasFixed##Type##Elements) { \ 498 RUNTIME_FUNCTION(Runtime_HasFixed##Type##Elements) { \
500 CONVERT_ARG_CHECKED(JSObject, obj, 0); \ 499 CONVERT_ARG_CHECKED(JSObject, obj, 0); \
501 return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \ 500 return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \
502 } 501 }
503 502
504 TYPED_ARRAYS(FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION) 503 TYPED_ARRAYS(FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION)
505 504
506 #undef FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION 505 #undef FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION
507 } // namespace internal 506 } // namespace internal
508 } // namespace v8 507 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime-internal.cc ('k') | src/snapshot/natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698