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

Side by Side Diff: src/deoptimizer.cc

Issue 2096863003: [wasm] prototype for breakpoint support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@extend-script-functionality
Patch Set: Created 4 years, 6 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/deoptimizer.h ('k') | src/factory.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 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/deoptimizer.h" 5 #include "src/deoptimizer.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/ast/prettyprinter.h" 8 #include "src/ast/prettyprinter.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/disasm.h" 10 #include "src/disasm.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 153 }
154 CHECK(frame_it != translated_values.end()); 154 CHECK(frame_it != translated_values.end());
155 155
156 DeoptimizedFrameInfo* info = 156 DeoptimizedFrameInfo* info =
157 new DeoptimizedFrameInfo(&translated_values, frame_it, isolate); 157 new DeoptimizedFrameInfo(&translated_values, frame_it, isolate);
158 158
159 return info; 159 return info;
160 } 160 }
161 161
162 162
163 void Deoptimizer::DeleteDebuggerInspectableFrame(DeoptimizedFrameInfo* info,
164 Isolate* isolate) {
165 delete info;
166 }
167
168
169 void Deoptimizer::GenerateDeoptimizationEntries(MacroAssembler* masm, 163 void Deoptimizer::GenerateDeoptimizationEntries(MacroAssembler* masm,
170 int count, 164 int count,
171 BailoutType type) { 165 BailoutType type) {
172 TableEntryGenerator generator(masm, type, count); 166 TableEntryGenerator generator(masm, type, count);
173 generator.Generate(); 167 generator.Generate();
174 } 168 }
175 169
176 170
177 void Deoptimizer::VisitAllOptimizedFunctionsForContext( 171 void Deoptimizer::VisitAllOptimizedFunctionsForContext(
178 Context* context, OptimizedFunctionVisitor* visitor) { 172 Context* context, OptimizedFunctionVisitor* visitor) {
(...skipping 3839 matching lines...) Expand 10 before | Expand all | Expand 10 after
4018 CHECK(value_info->IsMaterializedObject()); 4012 CHECK(value_info->IsMaterializedObject());
4019 4013
4020 value_info->value_ = 4014 value_info->value_ =
4021 Handle<Object>(previously_materialized_objects->get(i), isolate_); 4015 Handle<Object>(previously_materialized_objects->get(i), isolate_);
4022 } 4016 }
4023 } 4017 }
4024 } 4018 }
4025 4019
4026 } // namespace internal 4020 } // namespace internal
4027 } // namespace v8 4021 } // namespace v8
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698