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

Side by Side Diff: src/arm/virtual-frame-arm.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 | « no previous file | src/ia32/virtual-frame-ia32.h » ('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 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 373
374 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize; 374 static const int kHandlerSize = StackHandlerConstants::kSize / kPointerSize;
375 static const int kPreallocatedElements = 5 + 8; // 8 expression stack slots. 375 static const int kPreallocatedElements = 5 + 8; // 8 expression stack slots.
376 376
377 CodeGenerator* cgen_; 377 CodeGenerator* cgen_;
378 MacroAssembler* masm_; 378 MacroAssembler* masm_;
379 379
380 ZoneList<FrameElement> elements_; 380 ZoneList<FrameElement> elements_;
381 381
382 // The number of frame-allocated locals and parameters respectively. 382 // The number of frame-allocated locals and parameters respectively.
383 int16_t parameter_count_; 383 int parameter_count_;
384 int16_t local_count_; 384 int local_count_;
385 385
386 // The index of the element that is at the processor's stack pointer 386 // The index of the element that is at the processor's stack pointer
387 // (the sp register). 387 // (the sp register).
388 int16_t stack_pointer_; 388 int stack_pointer_;
389 389
390 // The index of the element that is at the processor's frame pointer 390 // The index of the element that is at the processor's frame pointer
391 // (the fp register). 391 // (the fp register).
392 int16_t frame_pointer_; 392 int frame_pointer_;
393 393
394 // The index of the register frame element using each register, or 394 // The index of the register frame element using each register, or
395 // kIllegalIndex if a register is not on the frame. 395 // kIllegalIndex if a register is not on the frame.
396 int16_t register_locations_[kNumRegisters]; 396 int register_locations_[kNumRegisters];
397 397
398 // The index of the first parameter. The receiver lies below the first 398 // The index of the first parameter. The receiver lies below the first
399 // parameter. 399 // parameter.
400 int param0_index() const { return 1; } 400 int param0_index() const { return 1; }
401 401
402 // The index of the context slot in the frame. 402 // The index of the context slot in the frame.
403 int context_index() const { 403 int context_index() const {
404 ASSERT(frame_pointer_ != kIllegalIndex); 404 ASSERT(frame_pointer_ != kIllegalIndex);
405 return frame_pointer_ - 1; 405 return frame_pointer_ - 1;
406 } 406 }
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 521
522 bool Equals(VirtualFrame* other); 522 bool Equals(VirtualFrame* other);
523 523
524 friend class JumpTarget; 524 friend class JumpTarget;
525 }; 525 };
526 526
527 527
528 } } // namespace v8::internal 528 } } // namespace v8::internal
529 529
530 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ 530 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/virtual-frame-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698