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

Side by Side Diff: src/compiler.h

Issue 890543002: [turbofan] Fix OSR compilations of for-in. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | 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.h" 9 #include "src/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 398
399 int optimization_id() const { return optimization_id_; } 399 int optimization_id() const { return optimization_id_; }
400 400
401 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } 401 AstValueFactory* ast_value_factory() const { return ast_value_factory_; }
402 void SetAstValueFactory(AstValueFactory* ast_value_factory, 402 void SetAstValueFactory(AstValueFactory* ast_value_factory,
403 bool owned = true) { 403 bool owned = true) {
404 ast_value_factory_ = ast_value_factory; 404 ast_value_factory_ = ast_value_factory;
405 ast_value_factory_owned_ = owned; 405 ast_value_factory_owned_ = owned;
406 } 406 }
407 407
408 #if DEBUG
409 void PrintAstForTesting();
410 #endif
411
408 protected: 412 protected:
409 CompilationInfo(Handle<SharedFunctionInfo> shared_info, 413 CompilationInfo(Handle<SharedFunctionInfo> shared_info,
410 Zone* zone); 414 Zone* zone);
411 CompilationInfo(HydrogenCodeStub* stub, 415 CompilationInfo(HydrogenCodeStub* stub,
412 Isolate* isolate, 416 Isolate* isolate,
413 Zone* zone); 417 Zone* zone);
414 CompilationInfo(ScriptCompiler::ExternalSourceStream* source_stream, 418 CompilationInfo(ScriptCompiler::ExternalSourceStream* source_stream,
415 ScriptCompiler::StreamedSource::Encoding encoding, 419 ScriptCompiler::StreamedSource::Encoding encoding,
416 Isolate* isolate, Zone* zone); 420 Isolate* isolate, Zone* zone);
417 421
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 Zone zone_; 760 Zone zone_;
757 unsigned info_zone_start_allocation_size_; 761 unsigned info_zone_start_allocation_size_;
758 base::ElapsedTimer timer_; 762 base::ElapsedTimer timer_;
759 763
760 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 764 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
761 }; 765 };
762 766
763 } } // namespace v8::internal 767 } } // namespace v8::internal
764 768
765 #endif // V8_COMPILER_H_ 769 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698