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

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

Issue 6677076: Merge up to bleeding_edge r7201 to isolates branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: Fix lint. 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/deoptimizer.cc ('k') | src/hydrogen.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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 496
497 Isolate* isolate() { return isolate_; } 497 Isolate* isolate() { return isolate_; }
498 MacroAssembler* masm() { return masm_; } 498 MacroAssembler* masm() { return masm_; }
499 499
500 class ExpressionContext; 500 class ExpressionContext;
501 const ExpressionContext* context() { return context_; } 501 const ExpressionContext* context() { return context_; }
502 void set_new_context(const ExpressionContext* context) { context_ = context; } 502 void set_new_context(const ExpressionContext* context) { context_ = context; }
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 bool is_strict() { return function()->strict_mode(); } 506 bool is_strict_mode() { return function()->strict_mode(); }
507 StrictModeFlag strict_mode_flag() { 507 StrictModeFlag strict_mode_flag() {
508 return is_strict() ? kStrictMode : kNonStrictMode; 508 return is_strict_mode() ? kStrictMode : kNonStrictMode;
509 } 509 }
510 FunctionLiteral* function() { return info_->function(); } 510 FunctionLiteral* function() { return info_->function(); }
511 Scope* scope() { return info_->scope(); } 511 Scope* scope() { return info_->scope(); }
512 512
513 static Register result_register(); 513 static Register result_register();
514 static Register context_register(); 514 static Register context_register();
515 515
516 // Helper for calling an IC stub. 516 // Helper for calling an IC stub.
517 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode); 517 void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode);
518 518
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 747
748 friend class NestedStatement; 748 friend class NestedStatement;
749 749
750 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 750 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
751 }; 751 };
752 752
753 753
754 } } // namespace v8::internal 754 } } // namespace v8::internal
755 755
756 #endif // V8_FULL_CODEGEN_H_ 756 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698