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

Side by Side Diff: src/objects.cc

Issue 1838283003: Migrate FastCloneShallowObjectStub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/objects.h" 5 #include "src/objects.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <iomanip> 8 #include <iomanip>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after
2188 os << "<undefined>"; 2188 os << "<undefined>";
2189 } else if (IsTheHole()) { 2189 } else if (IsTheHole()) {
2190 os << "<the hole>"; 2190 os << "<the hole>";
2191 } else if (IsNull()) { 2191 } else if (IsNull()) {
2192 os << "<null>"; 2192 os << "<null>";
2193 } else if (IsTrue()) { 2193 } else if (IsTrue()) {
2194 os << "<true>"; 2194 os << "<true>";
2195 } else if (IsFalse()) { 2195 } else if (IsFalse()) {
2196 os << "<false>"; 2196 os << "<false>";
2197 } else { 2197 } else {
2198 os << "<Odd Oddball>"; 2198 os << "<Odd Oddball: ";
2199 os << Oddball::cast(this)->to_string()->ToCString().get();
2200 os << ">";
2199 } 2201 }
2200 break; 2202 break;
2201 } 2203 }
2202 case SYMBOL_TYPE: { 2204 case SYMBOL_TYPE: {
2203 Symbol* symbol = Symbol::cast(this); 2205 Symbol* symbol = Symbol::cast(this);
2204 symbol->SymbolShortPrint(os); 2206 symbol->SymbolShortPrint(os);
2205 break; 2207 break;
2206 } 2208 }
2207 case HEAP_NUMBER_TYPE: { 2209 case HEAP_NUMBER_TYPE: {
2208 os << "<Number: "; 2210 os << "<Number: ";
(...skipping 17552 matching lines...) Expand 10 before | Expand all | Expand 10 after
19761 if (cell->value() != *new_value) { 19763 if (cell->value() != *new_value) {
19762 cell->set_value(*new_value); 19764 cell->set_value(*new_value);
19763 Isolate* isolate = cell->GetIsolate(); 19765 Isolate* isolate = cell->GetIsolate();
19764 cell->dependent_code()->DeoptimizeDependentCodeGroup( 19766 cell->dependent_code()->DeoptimizeDependentCodeGroup(
19765 isolate, DependentCode::kPropertyCellChangedGroup); 19767 isolate, DependentCode::kPropertyCellChangedGroup);
19766 } 19768 }
19767 } 19769 }
19768 19770
19769 } // namespace internal 19771 } // namespace internal
19770 } // namespace v8 19772 } // namespace v8
OLDNEW
« src/full-codegen/x64/full-codegen-x64.cc ('K') | « src/full-codegen/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698