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

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

Issue 2684313003: Remove SIMD.js from V8. (Closed)
Patch Set: Rebase. 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
392 // static 384 // static
393 Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) { 385 Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) {
394 return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(), 386 return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(),
395 ArgumentAdaptorDescriptor(isolate)); 387 ArgumentAdaptorDescriptor(isolate));
396 } 388 }
397 389
398 // static 390 // static
399 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode, 391 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode,
400 TailCallMode tail_call_mode) { 392 TailCallMode tail_call_mode) {
401 return Callable(isolate->builtins()->Call(mode, tail_call_mode), 393 return Callable(isolate->builtins()->Call(mode, tail_call_mode),
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 } 485 }
494 486
495 // static 487 // static
496 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 488 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
497 return Callable(isolate->builtins()->FunctionPrototypeBind(), 489 return Callable(isolate->builtins()->FunctionPrototypeBind(),
498 BuiltinDescriptor(isolate)); 490 BuiltinDescriptor(isolate));
499 } 491 }
500 492
501 } // namespace internal 493 } // namespace internal
502 } // namespace v8 494 } // 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