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

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

Issue 6698015: Implement strict mode arguments caller/callee. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Kevin's feedback. 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/ia32/code-stubs-ia32.cc ('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 bool is_strict_mode();
368 inline StrictModeFlag strict_mode_flag(); 369 inline StrictModeFlag strict_mode_flag();
369 370
370 // Generating deferred code. 371 // Generating deferred code.
371 void ProcessDeferred(); 372 void ProcessDeferred();
372 373
373 // State 374 // State
374 ControlDestination* destination() const { return state_->destination(); } 375 ControlDestination* destination() const { return state_->destination(); }
375 376
376 // Control of side-effect-free int32 expression compilation. 377 // Control of side-effect-free int32 expression compilation.
377 bool in_safe_int32_mode() { return in_safe_int32_mode_; } 378 bool in_safe_int32_mode() { return in_safe_int32_mode_; }
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 790
790 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 791 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
791 792
792 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 793 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
793 }; 794 };
794 795
795 796
796 } } // namespace v8::internal 797 } } // namespace v8::internal
797 798
798 #endif // V8_IA32_CODEGEN_IA32_H_ 799 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698