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

Side by Side Diff: src/x64/codegen-x64.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/v8globals.h ('k') | src/x64/codegen-x64.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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 (ZoneList<Expression*>*); 350 (ZoneList<Expression*>*);
351 351
352 static const InlineFunctionGenerator kInlineFunctionGenerators[]; 352 static const InlineFunctionGenerator kInlineFunctionGenerators[];
353 353
354 // Construction/Destruction 354 // Construction/Destruction
355 explicit CodeGenerator(MacroAssembler* masm); 355 explicit CodeGenerator(MacroAssembler* masm);
356 356
357 // Accessors 357 // Accessors
358 inline bool is_eval(); 358 inline bool is_eval();
359 inline Scope* scope(); 359 inline Scope* scope();
360 inline StrictModeFlag strict_mode_flag();
360 361
361 // Generating deferred code. 362 // Generating deferred code.
362 void ProcessDeferred(); 363 void ProcessDeferred();
363 364
364 // State 365 // State
365 ControlDestination* destination() const { return state_->destination(); } 366 ControlDestination* destination() const { return state_->destination(); }
366 367
367 // Track loop nesting level. 368 // Track loop nesting level.
368 int loop_nesting() const { return loop_nesting_; } 369 int loop_nesting() const { return loop_nesting_; }
369 void IncrementLoopNesting() { loop_nesting_++; } 370 void IncrementLoopNesting() { loop_nesting_++; }
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 741
741 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 742 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
742 743
743 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 744 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
744 }; 745 };
745 746
746 747
747 } } // namespace v8::internal 748 } } // namespace v8::internal
748 749
749 #endif // V8_X64_CODEGEN_X64_H_ 750 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/v8globals.h ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698