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

Side by Side Diff: src/ast.cc

Issue 18357004: Revert r15419: "Generate StoreGlobal stubs with Hydrogen" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-gap-resolver-arm.cc ('k') | src/code-stubs.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 } 668 }
669 } 669 }
670 670
671 671
672 void CallNew::RecordTypeFeedback(TypeFeedbackOracle* oracle) { 672 void CallNew::RecordTypeFeedback(TypeFeedbackOracle* oracle) {
673 allocation_info_cell_ = oracle->GetCallNewAllocationInfoCell(this); 673 allocation_info_cell_ = oracle->GetCallNewAllocationInfoCell(this);
674 is_monomorphic_ = oracle->CallNewIsMonomorphic(this); 674 is_monomorphic_ = oracle->CallNewIsMonomorphic(this);
675 if (is_monomorphic_) { 675 if (is_monomorphic_) {
676 target_ = oracle->GetCallNewTarget(this); 676 target_ = oracle->GetCallNewTarget(this);
677 Object* value = allocation_info_cell_->value(); 677 Object* value = allocation_info_cell_->value();
678 ASSERT(!value->IsTheHole());
679 if (value->IsSmi()) { 678 if (value->IsSmi()) {
680 elements_kind_ = static_cast<ElementsKind>(Smi::cast(value)->value()); 679 elements_kind_ = static_cast<ElementsKind>(Smi::cast(value)->value());
681 } 680 }
682 } 681 }
683 } 682 }
684 683
685 684
686 void ObjectLiteral::Property::RecordTypeFeedback(TypeFeedbackOracle* oracle) { 685 void ObjectLiteral::Property::RecordTypeFeedback(TypeFeedbackOracle* oracle) {
687 receiver_type_ = oracle->ObjectLiteralStoreIsMonomorphic(this) 686 receiver_type_ = oracle->ObjectLiteralStoreIsMonomorphic(this)
688 ? oracle->GetObjectLiteralStoreMap(this) 687 ? oracle->GetObjectLiteralStoreMap(this)
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 OS::SNPrintF(buffer, "%d", Smi::cast(*value_)->value()); 1183 OS::SNPrintF(buffer, "%d", Smi::cast(*value_)->value());
1185 str = arr; 1184 str = arr;
1186 } else { 1185 } else {
1187 str = DoubleToCString(value_->Number(), buffer); 1186 str = DoubleToCString(value_->Number(), buffer);
1188 } 1187 }
1189 return factory->NewStringFromAscii(CStrVector(str)); 1188 return factory->NewStringFromAscii(CStrVector(str));
1190 } 1189 }
1191 1190
1192 1191
1193 } } // namespace v8::internal 1192 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-gap-resolver-arm.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698