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

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

Issue 6286043: Direct call to eval passes strict mode through. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code review feedback. Created 9 years, 10 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/full-codegen.h ('k') | src/ia32/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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 (ZoneList<Expression*>*); 358 (ZoneList<Expression*>*);
359 359
360 static const InlineFunctionGenerator kInlineFunctionGenerators[]; 360 static const InlineFunctionGenerator kInlineFunctionGenerators[];
361 361
362 // Construction/Destruction 362 // Construction/Destruction
363 explicit CodeGenerator(MacroAssembler* masm); 363 explicit CodeGenerator(MacroAssembler* masm);
364 364
365 // Accessors 365 // Accessors
366 inline bool is_eval(); 366 inline bool is_eval();
367 inline Scope* scope(); 367 inline Scope* scope();
368 inline StrictModeFlag strict_mode_flag();
368 369
369 // Generating deferred code. 370 // Generating deferred code.
370 void ProcessDeferred(); 371 void ProcessDeferred();
371 372
372 // State 373 // State
373 ControlDestination* destination() const { return state_->destination(); } 374 ControlDestination* destination() const { return state_->destination(); }
374 375
375 // Control of side-effect-free int32 expression compilation. 376 // Control of side-effect-free int32 expression compilation.
376 bool in_safe_int32_mode() { return in_safe_int32_mode_; } 377 bool in_safe_int32_mode() { return in_safe_int32_mode_; }
377 void set_in_safe_int32_mode(bool value) { in_safe_int32_mode_ = value; } 378 void set_in_safe_int32_mode(bool value) { in_safe_int32_mode_ = value; }
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 789
789 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 790 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
790 791
791 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 792 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
792 }; 793 };
793 794
794 795
795 } } // namespace v8::internal 796 } } // namespace v8::internal
796 797
797 #endif // V8_IA32_CODEGEN_IA32_H_ 798 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698