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

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

Issue 260003006: Added a Isolate* parameter to Serializer::enabled(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Feedback. Created 6 years, 7 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_
6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_
7 7
8 #include "ia32/lithium-ia32.h" 8 #include "ia32/lithium-ia32.h"
9 9
10 #include "checks.h" 10 #include "checks.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 stack_depth_--; 429 stack_depth_--;
430 } 430 }
431 void push(X87Register reg) { 431 void push(X87Register reg) {
432 ASSERT(is_mutable_); 432 ASSERT(is_mutable_);
433 ASSERT(stack_depth_ < X87Register::kNumAllocatableRegisters); 433 ASSERT(stack_depth_ < X87Register::kNumAllocatableRegisters);
434 stack_[stack_depth_] = reg; 434 stack_[stack_depth_] = reg;
435 stack_depth_++; 435 stack_depth_++;
436 } 436 }
437 437
438 MacroAssembler* masm() const { return masm_; } 438 MacroAssembler* masm() const { return masm_; }
439 Isolate* isolate() const { return masm_->isolate(); }
439 440
440 private: 441 private:
441 int ArrayIndex(X87Register reg); 442 int ArrayIndex(X87Register reg);
442 int st2idx(int pos); 443 int st2idx(int pos);
443 444
444 X87Register stack_[X87Register::kNumAllocatableRegisters]; 445 X87Register stack_[X87Register::kNumAllocatableRegisters];
445 int stack_depth_; 446 int stack_depth_;
446 bool is_mutable_; 447 bool is_mutable_;
447 MacroAssembler* masm_; 448 MacroAssembler* masm_;
448 }; 449 };
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 Label exit_; 516 Label exit_;
516 Label* external_exit_; 517 Label* external_exit_;
517 Label done_; 518 Label done_;
518 int instruction_index_; 519 int instruction_index_;
519 LCodeGen::X87Stack x87_stack_; 520 LCodeGen::X87Stack x87_stack_;
520 }; 521 };
521 522
522 } } // namespace v8::internal 523 } } // namespace v8::internal
523 524
524 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 525 #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