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

Side by Side Diff: src/objects-printer.cc

Issue 1773653002: [strong] Remove all remainders of strong mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Oversight Created 4 years, 9 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/objects-inl.h ('k') | src/parsing/expression-classifier.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/objects.h" 5 #include "src/objects.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/interpreter/bytecodes.h" 9 #include "src/interpreter/bytecodes.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 os << "(transition to non-extensible)"; 1299 os << "(transition to non-extensible)";
1300 } else if (key == heap->sealed_symbol()) { 1300 } else if (key == heap->sealed_symbol()) {
1301 os << "(transition to sealed)"; 1301 os << "(transition to sealed)";
1302 } else if (key == heap->frozen_symbol()) { 1302 } else if (key == heap->frozen_symbol()) {
1303 os << "(transition to frozen)"; 1303 os << "(transition to frozen)";
1304 } else if (key == heap->elements_transition_symbol()) { 1304 } else if (key == heap->elements_transition_symbol()) {
1305 os << "(transition to " << ElementsKindToString(target->elements_kind()) 1305 os << "(transition to " << ElementsKindToString(target->elements_kind())
1306 << ")"; 1306 << ")";
1307 } else if (key == heap->strict_function_transition_symbol()) { 1307 } else if (key == heap->strict_function_transition_symbol()) {
1308 os << " (transition to strict function)"; 1308 os << " (transition to strict function)";
1309 } else if (key == heap->strong_function_transition_symbol()) {
1310 os << " (transition to strong function)";
1311 } else if (key == heap->observed_symbol()) { 1309 } else if (key == heap->observed_symbol()) {
1312 os << " (transition to Object.observe)"; 1310 os << " (transition to Object.observe)";
1313 } else { 1311 } else {
1314 PropertyDetails details = GetTargetDetails(key, target); 1312 PropertyDetails details = GetTargetDetails(key, target);
1315 os << "(transition to "; 1313 os << "(transition to ";
1316 if (details.location() == kDescriptor) { 1314 if (details.location() == kDescriptor) {
1317 os << "immutable "; 1315 os << "immutable ";
1318 } 1316 }
1319 os << (details.kind() == kData ? "data" : "accessor"); 1317 os << (details.kind() == kData ? "data" : "accessor");
1320 if (details.location() == kDescriptor) { 1318 if (details.location() == kDescriptor) {
(...skipping 11 matching lines...) Expand all
1332 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1330 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1333 Object* transitions = map()->raw_transitions(); 1331 Object* transitions = map()->raw_transitions();
1334 int num_transitions = TransitionArray::NumberOfTransitions(transitions); 1332 int num_transitions = TransitionArray::NumberOfTransitions(transitions);
1335 if (num_transitions == 0) return; 1333 if (num_transitions == 0) return;
1336 os << "\n - transitions"; 1334 os << "\n - transitions";
1337 TransitionArray::PrintTransitions(os, transitions, false); 1335 TransitionArray::PrintTransitions(os, transitions, false);
1338 } 1336 }
1339 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1337 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1340 } // namespace internal 1338 } // namespace internal
1341 } // namespace v8 1339 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/expression-classifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698