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

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

Issue 16413: Fix typo in comment. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 12 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 | no next file » | 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // the expression stack, and it is left in place with its value above it. 82 // the expression stack, and it is left in place with its value above it.
83 void GetValue(TypeofState typeof_state); 83 void GetValue(TypeofState typeof_state);
84 84
85 // Generate code to push the value of a reference on top of the expression 85 // Generate code to push the value of a reference on top of the expression
86 // stack and then spill the stack frame. This function is used temporarily 86 // stack and then spill the stack frame. This function is used temporarily
87 // while the code generator is being transformed. 87 // while the code generator is being transformed.
88 inline void GetValueAndSpill(TypeofState typeof_state); 88 inline void GetValueAndSpill(TypeofState typeof_state);
89 89
90 // Like GetValue except that the slot is expected to be written to before 90 // Like GetValue except that the slot is expected to be written to before
91 // being read from again. Thae value of the reference may be invalidated, 91 // being read from again. Thae value of the reference may be invalidated,
92 // causign subsequent attempts to read it to fail. 92 // causing subsequent attempts to read it to fail.
93 void TakeValue(TypeofState typeof_state); 93 void TakeValue(TypeofState typeof_state);
94 94
95 // Generate code to store the value on top of the expression stack in the 95 // Generate code to store the value on top of the expression stack in the
96 // reference. The reference is expected to be immediately below the value 96 // reference. The reference is expected to be immediately below the value
97 // on the expression stack. The stored value is left in place (with the 97 // on the expression stack. The stored value is left in place (with the
98 // reference intact below it) to support chained assignments. 98 // reference intact below it) to support chained assignments.
99 void SetValue(InitState init_state); 99 void SetValue(InitState init_state);
100 100
101 private: 101 private:
102 CodeGenerator* cgen_; 102 CodeGenerator* cgen_;
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 cgen_->set_in_spilled_code(false); 504 cgen_->set_in_spilled_code(false);
505 GetValue(typeof_state); 505 GetValue(typeof_state);
506 cgen_->frame()->SpillAll(); 506 cgen_->frame()->SpillAll();
507 cgen_->set_in_spilled_code(true); 507 cgen_->set_in_spilled_code(true);
508 } 508 }
509 509
510 510
511 } } // namespace v8::internal 511 } } // namespace v8::internal
512 512
513 #endif // V8_CODEGEN_IA32_H_ 513 #endif // V8_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698