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

Side by Side Diff: src/objects.cc

Issue 1370303004: Distinction between FeedbackVectorICSlot and FeedbackVectorSlot eliminated. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed release builds Created 5 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
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/objects-printer.cc » ('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 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 "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 11806 matching lines...) Expand 10 before | Expand all | Expand 10 after
11817 IC::Clear(this->GetIsolate(), info->pc(), 11817 IC::Clear(this->GetIsolate(), info->pc(),
11818 info->host()->constant_pool()); 11818 info->host()->constant_pool());
11819 } 11819 }
11820 } 11820 }
11821 } 11821 }
11822 } 11822 }
11823 11823
11824 11824
11825 void SharedFunctionInfo::ClearTypeFeedbackInfo() { 11825 void SharedFunctionInfo::ClearTypeFeedbackInfo() {
11826 feedback_vector()->ClearSlots(this); 11826 feedback_vector()->ClearSlots(this);
11827 feedback_vector()->ClearICSlots(this);
11828 } 11827 }
11829 11828
11830 11829
11831 void SharedFunctionInfo::ClearTypeFeedbackInfoAtGCTime() { 11830 void SharedFunctionInfo::ClearTypeFeedbackInfoAtGCTime() {
11832 feedback_vector()->ClearSlotsAtGCTime(this); 11831 feedback_vector()->ClearSlotsAtGCTime(this);
11833 feedback_vector()->ClearICSlotsAtGCTime(this);
11834 } 11832 }
11835 11833
11836 11834
11837 BailoutId Code::TranslatePcOffsetToAstId(uint32_t pc_offset) { 11835 BailoutId Code::TranslatePcOffsetToAstId(uint32_t pc_offset) {
11838 DisallowHeapAllocation no_gc; 11836 DisallowHeapAllocation no_gc;
11839 DCHECK(kind() == FUNCTION); 11837 DCHECK(kind() == FUNCTION);
11840 BackEdgeTable back_edges(this, &no_gc); 11838 BackEdgeTable back_edges(this, &no_gc);
11841 for (uint32_t i = 0; i < back_edges.length(); i++) { 11839 for (uint32_t i = 0; i < back_edges.length(); i++) {
11842 if (back_edges.pc_offset(i) == pc_offset) return back_edges.ast_id(i); 11840 if (back_edges.pc_offset(i) == pc_offset) return back_edges.ast_id(i);
11843 } 11841 }
(...skipping 4968 matching lines...) Expand 10 before | Expand all | Expand 10 after
16812 if (cell->value() != *new_value) { 16810 if (cell->value() != *new_value) {
16813 cell->set_value(*new_value); 16811 cell->set_value(*new_value);
16814 Isolate* isolate = cell->GetIsolate(); 16812 Isolate* isolate = cell->GetIsolate();
16815 cell->dependent_code()->DeoptimizeDependentCodeGroup( 16813 cell->dependent_code()->DeoptimizeDependentCodeGroup(
16816 isolate, DependentCode::kPropertyCellChangedGroup); 16814 isolate, DependentCode::kPropertyCellChangedGroup);
16817 } 16815 }
16818 } 16816 }
16819 16817
16820 } // namespace internal 16818 } // namespace internal
16821 } // namespace v8 16819 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698