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

Side by Side Diff: src/objects.cc

Issue 1868173002: Version 5.1.294.1 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1.294
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
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('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 << ">";
2201 } 2199 }
2202 break; 2200 break;
2203 } 2201 }
2204 case SYMBOL_TYPE: { 2202 case SYMBOL_TYPE: {
2205 Symbol* symbol = Symbol::cast(this); 2203 Symbol* symbol = Symbol::cast(this);
2206 symbol->SymbolShortPrint(os); 2204 symbol->SymbolShortPrint(os);
2207 break; 2205 break;
2208 } 2206 }
2209 case HEAP_NUMBER_TYPE: { 2207 case HEAP_NUMBER_TYPE: {
2210 os << "<Number: "; 2208 os << "<Number: ";
(...skipping 17077 matching lines...) Expand 10 before | Expand all | Expand 10 after
19288 if (cell->value() != *new_value) { 19286 if (cell->value() != *new_value) {
19289 cell->set_value(*new_value); 19287 cell->set_value(*new_value);
19290 Isolate* isolate = cell->GetIsolate(); 19288 Isolate* isolate = cell->GetIsolate();
19291 cell->dependent_code()->DeoptimizeDependentCodeGroup( 19289 cell->dependent_code()->DeoptimizeDependentCodeGroup(
19292 isolate, DependentCode::kPropertyCellChangedGroup); 19290 isolate, DependentCode::kPropertyCellChangedGroup);
19293 } 19291 }
19294 } 19292 }
19295 19293
19296 } // namespace internal 19294 } // namespace internal
19297 } // namespace v8 19295 } // namespace v8
OLDNEW
« no previous file with comments | « 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