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

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

Issue 6515005: Strict mode delete. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | Annotate | Revision Log
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 GENERATING, 113 GENERATING,
114 DONE, 114 DONE,
115 ABORTED 115 ABORTED
116 }; 116 };
117 117
118 bool is_unused() const { return status_ == UNUSED; } 118 bool is_unused() const { return status_ == UNUSED; }
119 bool is_generating() const { return status_ == GENERATING; } 119 bool is_generating() const { return status_ == GENERATING; }
120 bool is_done() const { return status_ == DONE; } 120 bool is_done() const { return status_ == DONE; }
121 bool is_aborted() const { return status_ == ABORTED; } 121 bool is_aborted() const { return status_ == ABORTED; }
122 122
123 int strict_mode_flag() const {
124 return info_->is_strict() ? kStrictMode : kNonStrictMode;
125 }
126
123 LChunk* chunk() const { return chunk_; } 127 LChunk* chunk() const { return chunk_; }
124 Scope* scope() const { return scope_; } 128 Scope* scope() const { return scope_; }
125 HGraph* graph() const { return chunk_->graph(); } 129 HGraph* graph() const { return chunk_->graph(); }
126 130
127 int GetNextEmittedBlock(int block); 131 int GetNextEmittedBlock(int block);
128 LInstruction* GetNextInstruction(); 132 LInstruction* GetNextInstruction();
129 133
130 void EmitClassOfTest(Label* if_true, 134 void EmitClassOfTest(Label* if_true,
131 Label* if_false, 135 Label* if_false,
132 Handle<String> class_name, 136 Handle<String> class_name,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 private: 286 private:
283 LCodeGen* codegen_; 287 LCodeGen* codegen_;
284 Label entry_; 288 Label entry_;
285 Label exit_; 289 Label exit_;
286 Label* external_exit_; 290 Label* external_exit_;
287 }; 291 };
288 292
289 } } // namespace v8::internal 293 } } // namespace v8::internal
290 294
291 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 295 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698