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

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

Issue 14193: Fix lint errors - spacing and formatting. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 12 years 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/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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Return the name. Only valid for named property references. 77 // Return the name. Only valid for named property references.
78 Handle<String> GetName(); 78 Handle<String> GetName();
79 79
80 // Generate code to push the value of the reference on top of the 80 // Generate code to push the value of the reference on top of the
81 // expression stack. The reference is expected to be already on top of 81 // expression stack. The reference is expected to be already on top of
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 wh ile 86 // stack and then spill the stack frame. This function is used temporarily
87 // 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 // Generate code to store the value on top of the expression stack in the 90 // Generate code to store the value on top of the expression stack in the
91 // reference. The reference is expected to be immediately below the value 91 // reference. The reference is expected to be immediately below the value
92 // on the expression stack. The stored value is left in place (with the 92 // on the expression stack. The stored value is left in place (with the
93 // reference intact below it) to support chained assignments. 93 // reference intact below it) to support chained assignments.
94 void SetValue(InitState init_state); 94 void SetValue(InitState init_state);
95 95
96 private: 96 private:
97 CodeGenerator* cgen_; 97 CodeGenerator* cgen_;
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 cgen_->set_in_spilled_code(false); 492 cgen_->set_in_spilled_code(false);
493 GetValue(typeof_state); 493 GetValue(typeof_state);
494 cgen_->frame()->SpillAll(); 494 cgen_->frame()->SpillAll();
495 cgen_->set_in_spilled_code(true); 495 cgen_->set_in_spilled_code(true);
496 } 496 }
497 497
498 498
499 } } // namespace v8::internal 499 } } // namespace v8::internal
500 500
501 #endif // V8_CODEGEN_IA32_H_ 501 #endif // V8_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698