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

Side by Side Diff: src/full-codegen.h

Issue 5188006: Push version 2.5.7 to trunk.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 1 month 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/extensions/gc-extension.cc ('k') | src/full-codegen.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); 457 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode);
458 458
459 // Set fields in the stack frame. Offsets are the frame pointer relative 459 // Set fields in the stack frame. Offsets are the frame pointer relative
460 // offsets defined in, e.g., StandardFrameConstants. 460 // offsets defined in, e.g., StandardFrameConstants.
461 void StoreToFrameField(int frame_offset, Register value); 461 void StoreToFrameField(int frame_offset, Register value);
462 462
463 // Load a value from the current context. Indices are defined as an enum 463 // Load a value from the current context. Indices are defined as an enum
464 // in v8::internal::Context. 464 // in v8::internal::Context.
465 void LoadContextField(Register dst, int context_index); 465 void LoadContextField(Register dst, int context_index);
466 466
467 // Create an operand for a context field.
468 MemOperand ContextOperand(Register context, int context_index);
469
470 // AST node visit functions. 467 // AST node visit functions.
471 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); 468 #define DECLARE_VISIT(type) virtual void Visit##type(type* node);
472 AST_NODE_LIST(DECLARE_VISIT) 469 AST_NODE_LIST(DECLARE_VISIT)
473 #undef DECLARE_VISIT 470 #undef DECLARE_VISIT
474 // Handles the shortcutted logical binary operations in VisitBinaryOperation. 471 // Handles the shortcutted logical binary operations in VisitBinaryOperation.
475 void EmitLogicalOperation(BinaryOperation* expr); 472 void EmitLogicalOperation(BinaryOperation* expr);
476 473
477 void VisitForTypeofValue(Expression* expr); 474 void VisitForTypeofValue(Expression* expr);
478 475
479 MacroAssembler* masm_; 476 MacroAssembler* masm_;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 664
668 friend class NestedStatement; 665 friend class NestedStatement;
669 666
670 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 667 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
671 }; 668 };
672 669
673 670
674 } } // namespace v8::internal 671 } } // namespace v8::internal
675 672
676 #endif // V8_FULL_CODEGEN_H_ 673 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/extensions/gc-extension.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698