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

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

Issue 9139051: Cosmetic changes ("set up" is a verb, "setup" is a noun). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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 | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 : codegen_(codegen), 376 : codegen_(codegen),
377 external_exit_(NULL), 377 external_exit_(NULL),
378 instruction_index_(codegen->current_instruction_) { 378 instruction_index_(codegen->current_instruction_) {
379 codegen->AddDeferredCode(this); 379 codegen->AddDeferredCode(this);
380 } 380 }
381 381
382 virtual ~LDeferredCode() { } 382 virtual ~LDeferredCode() { }
383 virtual void Generate() = 0; 383 virtual void Generate() = 0;
384 virtual LInstruction* instr() = 0; 384 virtual LInstruction* instr() = 0;
385 385
386 void SetExit(Label *exit) { external_exit_ = exit; } 386 void SetExit(Label* exit) { external_exit_ = exit; }
387 Label* entry() { return &entry_; } 387 Label* entry() { return &entry_; }
388 Label* exit() { return external_exit_ != NULL ? external_exit_ : &exit_; } 388 Label* exit() { return external_exit_ != NULL ? external_exit_ : &exit_; }
389 int instruction_index() const { return instruction_index_; } 389 int instruction_index() const { return instruction_index_; }
390 390
391 protected: 391 protected:
392 LCodeGen* codegen() const { return codegen_; } 392 LCodeGen* codegen() const { return codegen_; }
393 MacroAssembler* masm() const { return codegen_->masm(); } 393 MacroAssembler* masm() const { return codegen_->masm(); }
394 394
395 private: 395 private:
396 LCodeGen* codegen_; 396 LCodeGen* codegen_;
397 Label entry_; 397 Label entry_;
398 Label exit_; 398 Label exit_;
399 Label* external_exit_; 399 Label* external_exit_;
400 int instruction_index_; 400 int instruction_index_;
401 }; 401 };
402 402
403 } } // namespace v8::internal 403 } } // namespace v8::internal
404 404
405 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 405 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698