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

Side by Side Diff: src/x64/lithium-codegen-x64.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/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 DONE, 120 DONE,
121 ABORTED 121 ABORTED
122 }; 122 };
123 123
124 bool is_unused() const { return status_ == UNUSED; } 124 bool is_unused() const { return status_ == UNUSED; }
125 bool is_generating() const { return status_ == GENERATING; } 125 bool is_generating() const { return status_ == GENERATING; }
126 bool is_done() const { return status_ == DONE; } 126 bool is_done() const { return status_ == DONE; }
127 bool is_aborted() const { return status_ == ABORTED; } 127 bool is_aborted() const { return status_ == ABORTED; }
128 128
129 StrictModeFlag strict_mode_flag() const { 129 StrictModeFlag strict_mode_flag() const {
130 return info()->strict_mode_flag(); 130 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
131 } 131 }
132 132
133 LChunk* chunk() const { return chunk_; } 133 LChunk* chunk() const { return chunk_; }
134 Scope* scope() const { return scope_; } 134 Scope* scope() const { return scope_; }
135 HGraph* graph() const { return chunk_->graph(); } 135 HGraph* graph() const { return chunk_->graph(); }
136 136
137 int GetNextEmittedBlock(int block); 137 int GetNextEmittedBlock(int block);
138 LInstruction* GetNextInstruction(); 138 LInstruction* GetNextInstruction();
139 139
140 void EmitClassOfTest(Label* if_true, 140 void EmitClassOfTest(Label* if_true,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 LCodeGen* codegen_; 370 LCodeGen* codegen_;
371 Label entry_; 371 Label entry_;
372 Label exit_; 372 Label exit_;
373 Label* external_exit_; 373 Label* external_exit_;
374 int instruction_index_; 374 int instruction_index_;
375 }; 375 };
376 376
377 } } // namespace v8::internal 377 } } // namespace v8::internal
378 378
379 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 379 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698