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

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

Issue 7039036: Fix calls of strict mode function with an implicit receiver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. Created 9 years, 7 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/hydrogen.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // Emit a table of stack check ids and pcs into the code stream. Return 400 // Emit a table of stack check ids and pcs into the code stream. Return
401 // the offset of the start of the table. 401 // the offset of the start of the table.
402 unsigned EmitStackCheckTable(); 402 unsigned EmitStackCheckTable();
403 403
404 // Platform-specific return sequence 404 // Platform-specific return sequence
405 void EmitReturnSequence(); 405 void EmitReturnSequence();
406 406
407 // Platform-specific code sequences for calls 407 // Platform-specific code sequences for calls
408 void EmitCallWithStub(Call* expr, CallFunctionFlags flags); 408 void EmitCallWithStub(Call* expr, CallFunctionFlags flags);
409 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode); 409 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode);
410 void EmitKeyedCallWithIC(Call* expr, Expression* key, RelocInfo::Mode mode); 410 void EmitKeyedCallWithIC(Call* expr, Expression* key);
411 411
412 // Platform-specific code for inline runtime calls. 412 // Platform-specific code for inline runtime calls.
413 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); 413 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
414 414
415 void EmitInlineRuntimeCall(CallRuntime* expr); 415 void EmitInlineRuntimeCall(CallRuntime* expr);
416 416
417 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ 417 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \
418 void Emit##name(ZoneList<Expression*>* arguments); 418 void Emit##name(ZoneList<Expression*>* arguments);
419 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 419 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
420 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 420 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 762
763 friend class NestedStatement; 763 friend class NestedStatement;
764 764
765 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 765 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
766 }; 766 };
767 767
768 768
769 } } // namespace v8::internal 769 } } // namespace v8::internal
770 770
771 #endif // V8_FULL_CODEGEN_H_ 771 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698