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

Side by Side Diff: src/full-codegen/full-codegen.cc

Issue 2137203002: [intrinsics] Remove obsolete intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really nuke TO_NAME. Created 4 years, 5 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/full-codegen/full-codegen.h ('k') | src/interpreter/interpreter-intrinsics.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/full-codegen/full-codegen.h" 5 #include "src/full-codegen/full-codegen.h"
6 6
7 #include "src/ast/ast-numbering.h" 7 #include "src/ast/ast-numbering.h"
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/prettyprinter.h" 9 #include "src/ast/prettyprinter.h"
10 #include "src/ast/scopeinfo.h" 10 #include "src/ast/scopeinfo.h"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) { 554 void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) {
555 EmitIntrinsicAsStubCall(expr, CodeFactory::NumberToString(isolate())); 555 EmitIntrinsicAsStubCall(expr, CodeFactory::NumberToString(isolate()));
556 } 556 }
557 557
558 558
559 void FullCodeGenerator::EmitToString(CallRuntime* expr) { 559 void FullCodeGenerator::EmitToString(CallRuntime* expr) {
560 EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate())); 560 EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate()));
561 } 561 }
562 562
563 563
564 void FullCodeGenerator::EmitToName(CallRuntime* expr) {
565 EmitIntrinsicAsStubCall(expr, CodeFactory::ToName(isolate()));
566 }
567
568
569 void FullCodeGenerator::EmitToLength(CallRuntime* expr) { 564 void FullCodeGenerator::EmitToLength(CallRuntime* expr) {
570 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); 565 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate()));
571 } 566 }
572 567
573 void FullCodeGenerator::EmitToInteger(CallRuntime* expr) { 568 void FullCodeGenerator::EmitToInteger(CallRuntime* expr) {
574 EmitIntrinsicAsStubCall(expr, CodeFactory::ToInteger(isolate())); 569 EmitIntrinsicAsStubCall(expr, CodeFactory::ToInteger(isolate()));
575 } 570 }
576 571
577 void FullCodeGenerator::EmitToNumber(CallRuntime* expr) { 572 void FullCodeGenerator::EmitToNumber(CallRuntime* expr) {
578 EmitIntrinsicAsStubCall(expr, CodeFactory::ToNumber(isolate())); 573 EmitIntrinsicAsStubCall(expr, CodeFactory::ToNumber(isolate()));
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 return var->scope()->is_nonlinear() || 1962 return var->scope()->is_nonlinear() ||
1968 var->initializer_position() >= proxy->position(); 1963 var->initializer_position() >= proxy->position();
1969 } 1964 }
1970 1965
1971 1966
1972 #undef __ 1967 #undef __
1973 1968
1974 1969
1975 } // namespace internal 1970 } // namespace internal
1976 } // namespace v8 1971 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/interpreter/interpreter-intrinsics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698