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

Side by Side Diff: src/compilation-info.h

Issue 2575473002: [interpreter][stubs] Enable graph verification for bytecode handlers and stubs included into snapsh… (Closed)
Patch Set: Created 4 years 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/code-stubs-hydrogen.cc ('k') | src/compilation-info.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #ifndef V8_COMPILATION_INFO_H_ 5 #ifndef V8_COMPILATION_INFO_H_
6 #define V8_COMPILATION_INFO_H_ 6 #define V8_COMPILATION_INFO_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/compilation-dependencies.h" 10 #include "src/compilation-dependencies.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 typedef std::vector<InlinedFunctionHolder> InlinedFunctionList; 301 typedef std::vector<InlinedFunctionHolder> InlinedFunctionList;
302 InlinedFunctionList& inlined_functions() { return inlined_functions_; } 302 InlinedFunctionList& inlined_functions() { return inlined_functions_; }
303 303
304 // Returns the inlining id for source position tracking. 304 // Returns the inlining id for source position tracking.
305 int AddInlinedFunction(Handle<SharedFunctionInfo> inlined_function, 305 int AddInlinedFunction(Handle<SharedFunctionInfo> inlined_function,
306 SourcePosition pos); 306 SourcePosition pos);
307 307
308 std::unique_ptr<char[]> GetDebugName() const; 308 std::unique_ptr<char[]> GetDebugName() const;
309 309
310 bool verify_graph() const { return verify_graph_; }
311 void set_verify_graph(bool value) { verify_graph_ = value; }
312
310 Code::Kind output_code_kind() const; 313 Code::Kind output_code_kind() const;
311 314
312 StackFrame::Type GetOutputStackFrameType() const; 315 StackFrame::Type GetOutputStackFrameType() const;
313 316
314 int GetDeclareGlobalsFlags() const; 317 int GetDeclareGlobalsFlags() const;
315 318
316 SourcePositionTableBuilder::RecordingMode SourcePositionRecordingMode() const; 319 SourcePositionTableBuilder::RecordingMode SourcePositionRecordingMode() const;
317 320
318 private: 321 private:
319 // Compilation mode. 322 // Compilation mode.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 381
379 int optimization_id_; 382 int optimization_id_;
380 383
381 int osr_expr_stack_height_; 384 int osr_expr_stack_height_;
382 385
383 // The current OSR frame for specialization or {nullptr}. 386 // The current OSR frame for specialization or {nullptr}.
384 JavaScriptFrame* osr_frame_ = nullptr; 387 JavaScriptFrame* osr_frame_ = nullptr;
385 388
386 Vector<const char> debug_name_; 389 Vector<const char> debug_name_;
387 390
391 bool verify_graph_;
Michael Starzinger 2016/12/13 12:54:06 Please move this field into {compiler::PipelineDat
Igor Sheludko 2016/12/13 13:23:36 Done.
392
388 DISALLOW_COPY_AND_ASSIGN(CompilationInfo); 393 DISALLOW_COPY_AND_ASSIGN(CompilationInfo);
389 }; 394 };
390 395
391 } // namespace internal 396 } // namespace internal
392 } // namespace v8 397 } // namespace v8
393 398
394 #endif // V8_COMPILATION_INFO_H_ 399 #endif // V8_COMPILATION_INFO_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compilation-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698