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

Side by Side Diff: src/code-factory.cc

Issue 2695653005: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: Created 3 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 | « src/code-factory.h ('k') | src/code-stub-assembler.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/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 return Callable(isolate->builtins()->ForInNext(), 374 return Callable(isolate->builtins()->ForInNext(),
375 ForInNextDescriptor(isolate)); 375 ForInNextDescriptor(isolate));
376 } 376 }
377 377
378 // static 378 // static
379 Callable CodeFactory::AllocateHeapNumber(Isolate* isolate) { 379 Callable CodeFactory::AllocateHeapNumber(Isolate* isolate) {
380 AllocateHeapNumberStub stub(isolate); 380 AllocateHeapNumberStub stub(isolate);
381 return make_callable(stub); 381 return make_callable(stub);
382 } 382 }
383 383
384 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \
385 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \
386 Allocate##Type##Stub stub(isolate); \
387 return make_callable(stub); \
388 }
389 SIMD128_TYPES(SIMD128_ALLOC)
390 #undef SIMD128_ALLOC
391
384 // static 392 // static
385 Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) { 393 Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) {
386 return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(), 394 return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(),
387 ArgumentAdaptorDescriptor(isolate)); 395 ArgumentAdaptorDescriptor(isolate));
388 } 396 }
389 397
390 // static 398 // static
391 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode, 399 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode,
392 TailCallMode tail_call_mode) { 400 TailCallMode tail_call_mode) {
393 return Callable(isolate->builtins()->Call(mode, tail_call_mode), 401 return Callable(isolate->builtins()->Call(mode, tail_call_mode),
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 } 493 }
486 494
487 // static 495 // static
488 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 496 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
489 return Callable(isolate->builtins()->FunctionPrototypeBind(), 497 return Callable(isolate->builtins()->FunctionPrototypeBind(),
490 BuiltinDescriptor(isolate)); 498 BuiltinDescriptor(isolate));
491 } 499 }
492 500
493 } // namespace internal 501 } // namespace internal
494 } // namespace v8 502 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698