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

Side by Side Diff: src/hydrogen.h

Issue 8341019: Fix bug in inlining call-as-function when inlining multiple levels deep. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 // Build the shared core part of the translation unpacking a value into 598 // Build the shared core part of the translation unpacking a value into
599 // control flow. 599 // control flow.
600 void BuildBranch(HValue* value); 600 void BuildBranch(HValue* value);
601 601
602 Expression* condition_; 602 Expression* condition_;
603 HBasicBlock* if_true_; 603 HBasicBlock* if_true_;
604 HBasicBlock* if_false_; 604 HBasicBlock* if_false_;
605 }; 605 };
606 606
607 607
608 class FunctionState BASE_EMBEDDED { 608 class FunctionState {
609 public: 609 public:
610 FunctionState(HGraphBuilder* owner, 610 FunctionState(HGraphBuilder* owner,
611 CompilationInfo* info, 611 CompilationInfo* info,
612 TypeFeedbackOracle* oracle, 612 TypeFeedbackOracle* oracle,
613 bool drop_extra); 613 bool drop_extra);
614 ~FunctionState(); 614 ~FunctionState();
615 615
616 CompilationInfo* compilation_info() { return compilation_info_; } 616 CompilationInfo* compilation_info() { return compilation_info_; }
617 TypeFeedbackOracle* oracle() { return oracle_; } 617 TypeFeedbackOracle* oracle() { return oracle_; }
618 AstContext* call_context() { return call_context_; } 618 AstContext* call_context() { return call_context_; }
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 const char* filename_; 1249 const char* filename_;
1250 HeapStringAllocator string_allocator_; 1250 HeapStringAllocator string_allocator_;
1251 StringStream trace_; 1251 StringStream trace_;
1252 int indent_; 1252 int indent_;
1253 }; 1253 };
1254 1254
1255 1255
1256 } } // namespace v8::internal 1256 } } // namespace v8::internal
1257 1257
1258 #endif // V8_HYDROGEN_H_ 1258 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698