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

Side by Side Diff: src/compiler.h

Issue 1974623002: Remove AstNode::PrettyPrint, --print-source, and --print-builtin-source (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 5 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/codegen.cc ('k') | src/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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_COMPILER_H_ 5 #ifndef V8_COMPILER_H_
6 #define V8_COMPILER_H_ 6 #define V8_COMPILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 CompilationDependencies* dependencies() { return &dependencies_; } 389 CompilationDependencies* dependencies() { return &dependencies_; }
390 390
391 int optimization_id() const { return optimization_id_; } 391 int optimization_id() const { return optimization_id_; }
392 392
393 int osr_expr_stack_height() { return osr_expr_stack_height_; } 393 int osr_expr_stack_height() { return osr_expr_stack_height_; }
394 void set_osr_expr_stack_height(int height) { 394 void set_osr_expr_stack_height(int height) {
395 DCHECK(height >= 0); 395 DCHECK(height >= 0);
396 osr_expr_stack_height_ = height; 396 osr_expr_stack_height_ = height;
397 } 397 }
398 398
399 #if DEBUG
400 void PrintAstForTesting();
401 #endif
402
403 bool has_simple_parameters(); 399 bool has_simple_parameters();
404 400
405 struct InlinedFunctionHolder { 401 struct InlinedFunctionHolder {
406 Handle<SharedFunctionInfo> shared_info; 402 Handle<SharedFunctionInfo> shared_info;
407 403
408 // Root that holds the unoptimized code of the inlined function alive 404 // Root that holds the unoptimized code of the inlined function alive
409 // (and out of reach of code flushing) until we finish compilation. 405 // (and out of reach of code flushing) until we finish compilation.
410 // Do not remove. 406 // Do not remove.
411 Handle<Code> inlined_code_object_root; 407 Handle<Code> inlined_code_object_root;
412 408
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 MUST_USE_RESULT Status SetLastStatus(Status status) { 589 MUST_USE_RESULT Status SetLastStatus(Status status) {
594 last_status_ = status; 590 last_status_ = status;
595 return last_status_; 591 return last_status_;
596 } 592 }
597 }; 593 };
598 594
599 } // namespace internal 595 } // namespace internal
600 } // namespace v8 596 } // namespace v8
601 597
602 #endif // V8_COMPILER_H_ 598 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698