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

Side by Side Diff: src/objects.cc

Issue 809333002: [turbofan] Implement OSR for outer loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/flag-definitions.h ('k') | src/runtime/runtime-compiler.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 <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 8209 matching lines...) Expand 10 before | Expand all | Expand 10 after
8220 8220
8221 8221
8222 Object* AccessorPair::GetComponent(AccessorComponent component) { 8222 Object* AccessorPair::GetComponent(AccessorComponent component) {
8223 Object* accessor = get(component); 8223 Object* accessor = get(component);
8224 return accessor->IsTheHole() ? GetHeap()->undefined_value() : accessor; 8224 return accessor->IsTheHole() ? GetHeap()->undefined_value() : accessor;
8225 } 8225 }
8226 8226
8227 8227
8228 Handle<DeoptimizationInputData> DeoptimizationInputData::New( 8228 Handle<DeoptimizationInputData> DeoptimizationInputData::New(
8229 Isolate* isolate, int deopt_entry_count, PretenureFlag pretenure) { 8229 Isolate* isolate, int deopt_entry_count, PretenureFlag pretenure) {
8230 DCHECK(deopt_entry_count > 0);
8231 return Handle<DeoptimizationInputData>::cast( 8230 return Handle<DeoptimizationInputData>::cast(
8232 isolate->factory()->NewFixedArray(LengthFor(deopt_entry_count), 8231 isolate->factory()->NewFixedArray(LengthFor(deopt_entry_count),
8233 pretenure)); 8232 pretenure));
8234 } 8233 }
8235 8234
8236 8235
8237 Handle<DeoptimizationOutputData> DeoptimizationOutputData::New( 8236 Handle<DeoptimizationOutputData> DeoptimizationOutputData::New(
8238 Isolate* isolate, 8237 Isolate* isolate,
8239 int number_of_deopt_points, 8238 int number_of_deopt_points,
8240 PretenureFlag pretenure) { 8239 PretenureFlag pretenure) {
(...skipping 8586 matching lines...) Expand 10 before | Expand all | Expand 10 after
16827 Handle<DependentCode> codes = 16826 Handle<DependentCode> codes =
16828 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), 16827 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()),
16829 DependentCode::kPropertyCellChangedGroup, 16828 DependentCode::kPropertyCellChangedGroup,
16830 info->object_wrapper()); 16829 info->object_wrapper());
16831 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); 16830 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes);
16832 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( 16831 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add(
16833 cell, info->zone()); 16832 cell, info->zone());
16834 } 16833 }
16835 16834
16836 } } // namespace v8::internal 16835 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/runtime/runtime-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698