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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 8417035: Introduce extended mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed more comments. 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 | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 DONE, 125 DONE,
126 ABORTED 126 ABORTED
127 }; 127 };
128 128
129 bool is_unused() const { return status_ == UNUSED; } 129 bool is_unused() const { return status_ == UNUSED; }
130 bool is_generating() const { return status_ == GENERATING; } 130 bool is_generating() const { return status_ == GENERATING; }
131 bool is_done() const { return status_ == DONE; } 131 bool is_done() const { return status_ == DONE; }
132 bool is_aborted() const { return status_ == ABORTED; } 132 bool is_aborted() const { return status_ == ABORTED; }
133 133
134 StrictModeFlag strict_mode_flag() const { 134 StrictModeFlag strict_mode_flag() const {
135 return info()->strict_mode_flag(); 135 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
136 } 136 }
137 bool dynamic_frame_alignment() const { return dynamic_frame_alignment_; } 137 bool dynamic_frame_alignment() const { return dynamic_frame_alignment_; }
138 void set_dynamic_frame_alignment(bool value) { 138 void set_dynamic_frame_alignment(bool value) {
139 dynamic_frame_alignment_ = value; 139 dynamic_frame_alignment_ = value;
140 } 140 }
141 141
142 LChunk* chunk() const { return chunk_; } 142 LChunk* chunk() const { return chunk_; }
143 Scope* scope() const { return scope_; } 143 Scope* scope() const { return scope_; }
144 HGraph* graph() const { return chunk_->graph(); } 144 HGraph* graph() const { return chunk_->graph(); }
145 145
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 LCodeGen* codegen_; 377 LCodeGen* codegen_;
378 Label entry_; 378 Label entry_;
379 Label exit_; 379 Label exit_;
380 Label* external_exit_; 380 Label* external_exit_;
381 int instruction_index_; 381 int instruction_index_;
382 }; 382 };
383 383
384 } } // namespace v8::internal 384 } } // namespace v8::internal
385 385
386 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 386 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698