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

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

Issue 1622493002: [stubs] Introduce ToNameStub to implement %_ToName. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix BuildNumberToString type in Crankshaft. Created 4 years, 11 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
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.h" 7 #include "src/ast/ast.h"
8 #include "src/ast/ast-numbering.h" 8 #include "src/ast/ast-numbering.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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) { 513 void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) {
514 EmitIntrinsicAsStubCall(expr, CodeFactory::NumberToString(isolate())); 514 EmitIntrinsicAsStubCall(expr, CodeFactory::NumberToString(isolate()));
515 } 515 }
516 516
517 517
518 void FullCodeGenerator::EmitToString(CallRuntime* expr) { 518 void FullCodeGenerator::EmitToString(CallRuntime* expr) {
519 EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate())); 519 EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate()));
520 } 520 }
521 521
522 522
523 void FullCodeGenerator::EmitToName(CallRuntime* expr) {
524 EmitIntrinsicAsStubCall(expr, CodeFactory::ToName(isolate()));
525 }
526
527
523 void FullCodeGenerator::EmitToLength(CallRuntime* expr) { 528 void FullCodeGenerator::EmitToLength(CallRuntime* expr) {
524 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); 529 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate()));
525 } 530 }
526 531
527 532
528 void FullCodeGenerator::EmitToNumber(CallRuntime* expr) { 533 void FullCodeGenerator::EmitToNumber(CallRuntime* expr) {
529 EmitIntrinsicAsStubCall(expr, CodeFactory::ToNumber(isolate())); 534 EmitIntrinsicAsStubCall(expr, CodeFactory::ToNumber(isolate()));
530 } 535 }
531 536
532 537
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 return var->mode() == CONST_LEGACY || var->scope()->is_nonlinear() || 1735 return var->mode() == CONST_LEGACY || var->scope()->is_nonlinear() ||
1731 var->initializer_position() >= proxy->position(); 1736 var->initializer_position() >= proxy->position();
1732 } 1737 }
1733 1738
1734 1739
1735 #undef __ 1740 #undef __
1736 1741
1737 1742
1738 } // namespace internal 1743 } // namespace internal
1739 } // namespace v8 1744 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698