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

Side by Side Diff: src/objects.cc

Issue 616843002: Some follow-up fixes to r24322. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/assembler.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/accessors.h" 9 #include "src/accessors.h"
10 #include "src/allocation-site-scopes.h" 10 #include "src/allocation-site-scopes.h"
(...skipping 10895 matching lines...) Expand 10 before | Expand all | Expand 10 after
10906 DeoptimizationInputData::cast(this->deoptimization_data()); 10906 DeoptimizationInputData::cast(this->deoptimization_data());
10907 data->DeoptimizationInputDataPrint(os); 10907 data->DeoptimizationInputDataPrint(os);
10908 } 10908 }
10909 os << "\n"; 10909 os << "\n";
10910 10910
10911 if (is_crankshafted()) { 10911 if (is_crankshafted()) {
10912 SafepointTable table(this); 10912 SafepointTable table(this);
10913 os << "Safepoints (size = " << table.size() << ")\n"; 10913 os << "Safepoints (size = " << table.size() << ")\n";
10914 for (unsigned i = 0; i < table.length(); i++) { 10914 for (unsigned i = 0; i < table.length(); i++) {
10915 unsigned pc_offset = table.GetPcOffset(i); 10915 unsigned pc_offset = table.GetPcOffset(i);
10916 os << (instruction_start() + pc_offset) << " "; 10916 os << static_cast<const void*>(instruction_start() + pc_offset) << " ";
10917 // TODO(svenpanne) Add some basic formatting to our streams. 10917 // TODO(svenpanne) Add some basic formatting to our streams.
10918 Vector<char> buf1 = Vector<char>::New(30); 10918 Vector<char> buf1 = Vector<char>::New(30);
10919 SNPrintF(buf1, "%4d", pc_offset); 10919 SNPrintF(buf1, "%4d", pc_offset);
10920 os << buf1.start() << " "; 10920 os << buf1.start() << " ";
10921 table.PrintEntry(i, os); 10921 table.PrintEntry(i, os);
10922 os << " (sp -> fp) "; 10922 os << " (sp -> fp) ";
10923 SafepointEntry entry = table.GetEntry(i); 10923 SafepointEntry entry = table.GetEntry(i);
10924 if (entry.deoptimization_index() != Safepoint::kNoDeoptimizationIndex) { 10924 if (entry.deoptimization_index() != Safepoint::kNoDeoptimizationIndex) {
10925 Vector<char> buf2 = Vector<char>::New(30); 10925 Vector<char> buf2 = Vector<char>::New(30);
10926 SNPrintF(buf2, "%6d", entry.deoptimization_index()); 10926 SNPrintF(buf2, "%6d", entry.deoptimization_index());
(...skipping 5446 matching lines...) Expand 10 before | Expand all | Expand 10 after
16373 Handle<DependentCode> codes = 16373 Handle<DependentCode> codes =
16374 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), 16374 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()),
16375 DependentCode::kPropertyCellChangedGroup, 16375 DependentCode::kPropertyCellChangedGroup,
16376 info->object_wrapper()); 16376 info->object_wrapper());
16377 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); 16377 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes);
16378 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( 16378 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add(
16379 cell, info->zone()); 16379 cell, info->zone());
16380 } 16380 }
16381 16381
16382 } } // namespace v8::internal 16382 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698