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

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

Issue 1115973005: Revert of Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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-stubs.h ('k') | src/hydrogen.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 531
532 532
533 Type* CompareNilICStub::GetInputType(Zone* zone, Handle<Map> map) { 533 Type* CompareNilICStub::GetInputType(Zone* zone, Handle<Map> map) {
534 Type* output_type = GetType(zone, map); 534 Type* output_type = GetType(zone, map);
535 Type* nil_type = 535 Type* nil_type =
536 nil_value() == kNullValue ? Type::Null(zone) : Type::Undefined(zone); 536 nil_value() == kNullValue ? Type::Null(zone) : Type::Undefined(zone);
537 return Type::Union(output_type, nil_type, zone); 537 return Type::Union(output_type, nil_type, zone);
538 } 538 }
539 539
540 540
541 void CallIC_RoundStub::PrintState(std::ostream& os) const { // NOLINT
542 os << state() << " (Round)";
543 }
544
545
546 void CallIC_FloorStub::PrintState(std::ostream& os) const { // NOLINT
547 os << state() << " (Floor)";
548 }
549
550
551 void CallIC_CeilStub::PrintState(std::ostream& os) const { // NOLINT
552 os << state() << " (Ceil)";
553 }
554
555
556 void CallIC_ArrayStub::PrintState(std::ostream& os) const { // NOLINT 541 void CallIC_ArrayStub::PrintState(std::ostream& os) const { // NOLINT
557 os << state() << " (Array)"; 542 os << state() << " (Array)";
558 } 543 }
559 544
560 545
561 void CallICStub::PrintState(std::ostream& os) const { // NOLINT 546 void CallICStub::PrintState(std::ostream& os) const { // NOLINT
562 os << state(); 547 os << state();
563 } 548 }
564 549
565 550
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 } 979 }
995 980
996 981
997 InternalArrayConstructorStub::InternalArrayConstructorStub( 982 InternalArrayConstructorStub::InternalArrayConstructorStub(
998 Isolate* isolate) : PlatformCodeStub(isolate) { 983 Isolate* isolate) : PlatformCodeStub(isolate) {
999 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 984 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
1000 } 985 }
1001 986
1002 987
1003 } } // namespace v8::internal 988 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698