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

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

Issue 6606006: [Isolates] Merge 6500:6700 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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/frames.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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 526
527 Isolate* isolate() { return isolate_; } 527 Isolate* isolate() { return isolate_; }
528 MacroAssembler* masm() { return masm_; } 528 MacroAssembler* masm() { return masm_; }
529 529
530 class ExpressionContext; 530 class ExpressionContext;
531 const ExpressionContext* context() { return context_; } 531 const ExpressionContext* context() { return context_; }
532 void set_new_context(const ExpressionContext* context) { context_ = context; } 532 void set_new_context(const ExpressionContext* context) { context_ = context; }
533 533
534 Handle<Script> script() { return info_->script(); } 534 Handle<Script> script() { return info_->script(); }
535 bool is_eval() { return info_->is_eval(); } 535 bool is_eval() { return info_->is_eval(); }
536 StrictModeFlag strict_mode_flag() {
537 return function()->strict_mode() ? kStrictMode : kNonStrictMode;
538 }
536 FunctionLiteral* function() { return info_->function(); } 539 FunctionLiteral* function() { return info_->function(); }
537 Scope* scope() { return info_->scope(); } 540 Scope* scope() { return info_->scope(); }
538 541
539 static Register result_register(); 542 static Register result_register();
540 static Register context_register(); 543 static Register context_register();
541 544
542 // Helper for calling an IC stub. 545 // Helper for calling an IC stub.
543 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); 546 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode);
544 547
545 // Calling an IC stub with a patch site. Passing NULL for patch_site 548 // Calling an IC stub with a patch site. Passing NULL for patch_site
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 775
773 friend class NestedStatement; 776 friend class NestedStatement;
774 777
775 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 778 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
776 }; 779 };
777 780
778 781
779 } } // namespace v8::internal 782 } } // namespace v8::internal
780 783
781 #endif // V8_FULL_CODEGEN_H_ 784 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698