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

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
« src/code-stubs.cc ('K') | « src/js/regexp.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17560 matching lines...) Expand 10 before | Expand all | Expand 10 after
19769 if (cell->value() != *new_value) { 19771 if (cell->value() != *new_value) {
19770 cell->set_value(*new_value); 19772 cell->set_value(*new_value);
19771 Isolate* isolate = cell->GetIsolate(); 19773 Isolate* isolate = cell->GetIsolate();
19772 cell->dependent_code()->DeoptimizeDependentCodeGroup( 19774 cell->dependent_code()->DeoptimizeDependentCodeGroup(
19773 isolate, DependentCode::kPropertyCellChangedGroup); 19775 isolate, DependentCode::kPropertyCellChangedGroup);
19774 } 19776 }
19775 } 19777 }
19776 19778
19777 } // namespace internal 19779 } // namespace internal
19778 } // namespace v8 19780 } // namespace v8
OLDNEW
« src/code-stubs.cc ('K') | « src/js/regexp.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698