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

Side by Side Diff: src/compiler.h

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment Created 5 years, 7 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
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.h" 9 #include "src/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 return isolate_; 158 return isolate_;
159 } 159 }
160 Zone* zone() { return zone_; } 160 Zone* zone() { return zone_; }
161 bool is_osr() const { return !osr_ast_id_.IsNone(); } 161 bool is_osr() const { return !osr_ast_id_.IsNone(); }
162 Handle<Code> code() const { return code_; } 162 Handle<Code> code() const { return code_; }
163 CodeStub* code_stub() const { return code_stub_; } 163 CodeStub* code_stub() const { return code_stub_; }
164 BailoutId osr_ast_id() const { return osr_ast_id_; } 164 BailoutId osr_ast_id() const { return osr_ast_id_; }
165 Handle<Code> unoptimized_code() const { return unoptimized_code_; } 165 Handle<Code> unoptimized_code() const { return unoptimized_code_; }
166 int opt_count() const { return opt_count_; } 166 int opt_count() const { return opt_count_; }
167 int num_parameters() const; 167 int num_parameters() const;
168 int num_parameters_including_this() const;
169 bool is_this_defined() const;
168 int num_heap_slots() const; 170 int num_heap_slots() const;
169 Code::Flags flags() const; 171 Code::Flags flags() const;
170 bool has_scope() const { return scope() != nullptr; } 172 bool has_scope() const { return scope() != nullptr; }
171 173
172 void set_parameter_count(int parameter_count) { 174 void set_parameter_count(int parameter_count) {
173 DCHECK(IsStub()); 175 DCHECK(IsStub());
174 parameter_count_ = parameter_count; 176 parameter_count_ = parameter_count;
175 } 177 }
176 178
177 bool is_tracking_positions() const { return track_positions_; } 179 bool is_tracking_positions() const { return track_positions_; }
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 Zone zone_; 677 Zone zone_;
676 size_t info_zone_start_allocation_size_; 678 size_t info_zone_start_allocation_size_;
677 base::ElapsedTimer timer_; 679 base::ElapsedTimer timer_;
678 680
679 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 681 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
680 }; 682 };
681 683
682 } } // namespace v8::internal 684 } } // namespace v8::internal
683 685
684 #endif // V8_COMPILER_H_ 686 #endif // V8_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698