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

Side by Side Diff: src/codegen-arm.h

Issue 7420: No more failures than before. It is ready to be reviewed. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 2 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/builtins-arm.cc ('k') | src/codegen-arm.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 return ContextOperand(cp, Context::GLOBAL_INDEX); 218 return ContextOperand(cp, Context::GLOBAL_INDEX);
219 } 219 }
220 220
221 void LoadCondition(Expression* x, 221 void LoadCondition(Expression* x,
222 TypeofState typeof_state, 222 TypeofState typeof_state,
223 Label* true_target, 223 Label* true_target,
224 Label* false_target, 224 Label* false_target,
225 bool force_cc); 225 bool force_cc);
226 void Load(Expression* x, TypeofState typeof_state = NOT_INSIDE_TYPEOF); 226 void Load(Expression* x, TypeofState typeof_state = NOT_INSIDE_TYPEOF);
227 void LoadGlobal(); 227 void LoadGlobal();
228 void LoadGlobalReceiver(Register scratch);
228 229
229 // Read a value from a slot and leave it on top of the expression stack. 230 // Read a value from a slot and leave it on top of the expression stack.
230 void LoadFromSlot(Slot* slot, TypeofState typeof_state); 231 void LoadFromSlot(Slot* slot, TypeofState typeof_state);
231 232
232 // Special code for typeof expressions: Unfortunately, we must 233 // Special code for typeof expressions: Unfortunately, we must
233 // be careful when loading the expression in 'typeof' 234 // be careful when loading the expression in 'typeof'
234 // expressions. We are not allowed to throw reference errors for 235 // expressions. We are not allowed to throw reference errors for
235 // non-existing properties of the global object, so we must make it 236 // non-existing properties of the global object, so we must make it
236 // look like an explicit property access, instead of an access 237 // look like an explicit property access, instead of an access
237 // through the context chain. 238 // through the context chain.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 friend class Property; 363 friend class Property;
363 friend class VariableProxy; 364 friend class VariableProxy;
364 friend class Slot; 365 friend class Slot;
365 366
366 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 367 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
367 }; 368 };
368 369
369 } } // namespace v8::internal 370 } } // namespace v8::internal
370 371
371 #endif // V8_CODEGEN_ARM_H_ 372 #endif // V8_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/builtins-arm.cc ('k') | src/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698