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

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

Issue 6674028: Use compilation info isolate pointer in lithium codegen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: Created 9 years, 9 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/arm/lithium-codegen-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 deferred_(8), 61 deferred_(8),
62 osr_pc_offset_(-1), 62 osr_pc_offset_(-1),
63 deoptimization_reloc_size(), 63 deoptimization_reloc_size(),
64 resolver_(this) { 64 resolver_(this) {
65 PopulateDeoptimizationLiteralsWithInlinedFunctions(); 65 PopulateDeoptimizationLiteralsWithInlinedFunctions();
66 } 66 }
67 67
68 // Simple accessors. 68 // Simple accessors.
69 MacroAssembler* masm() const { return masm_; } 69 MacroAssembler* masm() const { return masm_; }
70 CompilationInfo* info() const { return info_; } 70 CompilationInfo* info() const { return info_; }
71 Isolate* isolate() const { return info_->isolate(); }
72 Factory* factory() const { return isolate()->factory(); }
73 Heap* heap() const { return isolate()->heap(); }
71 74
72 // Support for converting LOperands to assembler types. 75 // Support for converting LOperands to assembler types.
73 Operand ToOperand(LOperand* op) const; 76 Operand ToOperand(LOperand* op) const;
74 Register ToRegister(LOperand* op) const; 77 Register ToRegister(LOperand* op) const;
75 XMMRegister ToDoubleRegister(LOperand* op) const; 78 XMMRegister ToDoubleRegister(LOperand* op) const;
76 Immediate ToImmediate(LOperand* op); 79 Immediate ToImmediate(LOperand* op);
77 80
78 // The operand denoting the second word (the one with a higher address) of 81 // The operand denoting the second word (the one with a higher address) of
79 // a double stack slot. 82 // a double stack slot.
80 Operand HighOperand(LOperand* op); 83 Operand HighOperand(LOperand* op);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 private: 305 private:
303 LCodeGen* codegen_; 306 LCodeGen* codegen_;
304 Label entry_; 307 Label entry_;
305 Label exit_; 308 Label exit_;
306 Label* external_exit_; 309 Label* external_exit_;
307 }; 310 };
308 311
309 } } // namespace v8::internal 312 } } // namespace v8::internal
310 313
311 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 314 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698