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

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

Issue 3431010: Clean up the insertion of nops (signalling non-inlined loads and... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 3 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/full-codegen-arm.cc ('k') | src/ia32/full-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 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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 MacroAssembler* masm() { return masm_; } 502 MacroAssembler* masm() { return masm_; }
503 503
504 Handle<Script> script() { return info_->script(); } 504 Handle<Script> script() { return info_->script(); }
505 bool is_eval() { return info_->is_eval(); } 505 bool is_eval() { return info_->is_eval(); }
506 FunctionLiteral* function() { return info_->function(); } 506 FunctionLiteral* function() { return info_->function(); }
507 Scope* scope() { return info_->scope(); } 507 Scope* scope() { return info_->scope(); }
508 508
509 static Register result_register(); 509 static Register result_register();
510 static Register context_register(); 510 static Register context_register();
511 511
512 // Helper for calling an IC stub.
513 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode);
514
512 // Set fields in the stack frame. Offsets are the frame pointer relative 515 // Set fields in the stack frame. Offsets are the frame pointer relative
513 // offsets defined in, e.g., StandardFrameConstants. 516 // offsets defined in, e.g., StandardFrameConstants.
514 void StoreToFrameField(int frame_offset, Register value); 517 void StoreToFrameField(int frame_offset, Register value);
515 518
516 // Load a value from the current context. Indices are defined as an enum 519 // Load a value from the current context. Indices are defined as an enum
517 // in v8::internal::Context. 520 // in v8::internal::Context.
518 void LoadContextField(Register dst, int context_index); 521 void LoadContextField(Register dst, int context_index);
519 522
520 // Create an operand for a context field. 523 // Create an operand for a context field.
521 MemOperand ContextOperand(Register context, int context_index); 524 MemOperand ContextOperand(Register context, int context_index);
(...skipping 28 matching lines...) Expand all
550 553
551 friend class NestedStatement; 554 friend class NestedStatement;
552 555
553 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 556 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
554 }; 557 };
555 558
556 559
557 } } // namespace v8::internal 560 } } // namespace v8::internal
558 561
559 #endif // V8_FULL_CODEGEN_H_ 562 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698