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

Side by Side Diff: src/x64/virtual-frame-x64.h

Issue 115535: Increase the size of VirtualFrame members to allow a larger number of... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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/virtual-frame-ia32.h ('k') | 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 394
395 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize; 395 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize;
396 static const int kPreallocatedElements = 5 + 8; // 8 expression stack slots. 396 static const int kPreallocatedElements = 5 + 8; // 8 expression stack slots.
397 397
398 CodeGenerator* cgen_; 398 CodeGenerator* cgen_;
399 MacroAssembler* masm_; 399 MacroAssembler* masm_;
400 400
401 ZoneList<FrameElement> elements_; 401 ZoneList<FrameElement> elements_;
402 402
403 // The number of frame-allocated locals and parameters respectively. 403 // The number of frame-allocated locals and parameters respectively.
404 int16_t parameter_count_; 404 int parameter_count_;
405 int16_t local_count_; 405 int local_count_;
406 406
407 // The index of the element that is at the processor's stack pointer 407 // The index of the element that is at the processor's stack pointer
408 // (the esp register). 408 // (the esp register).
409 int16_t stack_pointer_; 409 int stack_pointer_;
410 410
411 // The index of the element that is at the processor's frame pointer 411 // The index of the element that is at the processor's frame pointer
412 // (the ebp register). 412 // (the ebp register).
413 int16_t frame_pointer_; 413 int frame_pointer_;
414 414
415 // The index of the register frame element using each register, or 415 // The index of the register frame element using each register, or
416 // kIllegalIndex if a register is not on the frame. 416 // kIllegalIndex if a register is not on the frame.
417 int16_t register_locations_[kNumRegisters]; 417 int register_locations_[kNumRegisters];
418 418
419 // The index of the first parameter. The receiver lies below the first 419 // The index of the first parameter. The receiver lies below the first
420 // parameter. 420 // parameter.
421 int param0_index() const { return 1; } 421 int param0_index() const { return 1; }
422 422
423 // The index of the context slot in the frame. 423 // The index of the context slot in the frame.
424 int context_index() const { 424 int context_index() const {
425 ASSERT(frame_pointer_ != kIllegalIndex); 425 ASSERT(frame_pointer_ != kIllegalIndex);
426 return frame_pointer_ + 1; 426 return frame_pointer_ + 1;
427 } 427 }
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); 541 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode);
542 542
543 bool Equals(VirtualFrame* other); 543 bool Equals(VirtualFrame* other);
544 544
545 friend class JumpTarget; 545 friend class JumpTarget;
546 }; 546 };
547 547
548 } } // namespace v8::internal 548 } } // namespace v8::internal
549 549
550 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ 550 #endif // V8_X64_VIRTUAL_FRAME_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/virtual-frame-ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698