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

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

Issue 6804024: Strict mode renamings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler.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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 DONE, 122 DONE,
123 ABORTED 123 ABORTED
124 }; 124 };
125 125
126 bool is_unused() const { return status_ == UNUSED; } 126 bool is_unused() const { return status_ == UNUSED; }
127 bool is_generating() const { return status_ == GENERATING; } 127 bool is_generating() const { return status_ == GENERATING; }
128 bool is_done() const { return status_ == DONE; } 128 bool is_done() const { return status_ == DONE; }
129 bool is_aborted() const { return status_ == ABORTED; } 129 bool is_aborted() const { return status_ == ABORTED; }
130 130
131 int strict_mode_flag() const { 131 int strict_mode_flag() const {
132 return info()->is_strict() ? kStrictMode : kNonStrictMode; 132 return info()->is_strict_mode() ? kStrictMode : kNonStrictMode;
133 } 133 }
134 134
135 LChunk* chunk() const { return chunk_; } 135 LChunk* chunk() const { return chunk_; }
136 Scope* scope() const { return scope_; } 136 Scope* scope() const { return scope_; }
137 HGraph* graph() const { return chunk_->graph(); } 137 HGraph* graph() const { return chunk_->graph(); }
138 138
139 int GetNextEmittedBlock(int block); 139 int GetNextEmittedBlock(int block);
140 LInstruction* GetNextInstruction(); 140 LInstruction* GetNextInstruction();
141 141
142 void EmitClassOfTest(Label* if_true, 142 void EmitClassOfTest(Label* if_true,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 private: 309 private:
310 LCodeGen* codegen_; 310 LCodeGen* codegen_;
311 Label entry_; 311 Label entry_;
312 Label exit_; 312 Label exit_;
313 Label* external_exit_; 313 Label* external_exit_;
314 }; 314 };
315 315
316 } } // namespace v8::internal 316 } } // namespace v8::internal
317 317
318 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 318 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698