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

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

Issue 536029: Fix a problem with const initialization in the top-level code generator.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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 | « no previous file | src/arm/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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // Call LoadCondition and then spill the virtual frame unless control flow 265 // Call LoadCondition and then spill the virtual frame unless control flow
266 // cannot reach the end of the expression (ie, by emitting only 266 // cannot reach the end of the expression (ie, by emitting only
267 // unconditional jumps to the control targets). 267 // unconditional jumps to the control targets).
268 inline void LoadConditionAndSpill(Expression* expression, 268 inline void LoadConditionAndSpill(Expression* expression,
269 JumpTarget* true_target, 269 JumpTarget* true_target,
270 JumpTarget* false_target, 270 JumpTarget* false_target,
271 bool force_control); 271 bool force_control);
272 272
273 // Read a value from a slot and leave it on top of the expression stack. 273 // Read a value from a slot and leave it on top of the expression stack.
274 void LoadFromSlot(Slot* slot, TypeofState typeof_state); 274 void LoadFromSlot(Slot* slot, TypeofState typeof_state);
275 // Store the value on top of the stack to a slot.
276 void StoreToSlot(Slot* slot, InitState init_state);
277
275 void LoadFromGlobalSlotCheckExtensions(Slot* slot, 278 void LoadFromGlobalSlotCheckExtensions(Slot* slot,
276 TypeofState typeof_state, 279 TypeofState typeof_state,
277 Register tmp, 280 Register tmp,
278 Register tmp2, 281 Register tmp2,
279 JumpTarget* slow); 282 JumpTarget* slow);
280 283
281 // Special code for typeof expressions: Unfortunately, we must 284 // Special code for typeof expressions: Unfortunately, we must
282 // be careful when loading the expression in 'typeof' 285 // be careful when loading the expression in 'typeof'
283 // expressions. We are not allowed to throw reference errors for 286 // expressions. We are not allowed to throw reference errors for
284 // non-existing properties of the global object, so we must make it 287 // non-existing properties of the global object, so we must make it
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 constant_rhs_); 526 constant_rhs_);
524 } 527 }
525 } 528 }
526 #endif 529 #endif
527 }; 530 };
528 531
529 532
530 } } // namespace v8::internal 533 } } // namespace v8::internal
531 534
532 #endif // V8_ARM_CODEGEN_ARM_H_ 535 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698