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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/ia32/ic-ia32.cc ('k') | src/ia32/lithium-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 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 } 201 }
202 202
203 void CallRuntimeFromDeferred(Runtime::FunctionId id, 203 void CallRuntimeFromDeferred(Runtime::FunctionId id,
204 int argc, 204 int argc,
205 LInstruction* instr); 205 LInstruction* instr);
206 206
207 // Generate a direct call to a known function. Expects the function 207 // Generate a direct call to a known function. Expects the function
208 // to be in edi. 208 // to be in edi.
209 void CallKnownFunction(Handle<JSFunction> function, 209 void CallKnownFunction(Handle<JSFunction> function,
210 int arity, 210 int arity,
211 LInstruction* instr); 211 LInstruction* instr,
212 CallKind call_kind);
212 213
213 void LoadHeapObject(Register result, Handle<HeapObject> object); 214 void LoadHeapObject(Register result, Handle<HeapObject> object);
214 215
215 void RegisterLazyDeoptimization(LInstruction* instr, 216 void RegisterLazyDeoptimization(LInstruction* instr,
216 SafepointMode safepoint_mode); 217 SafepointMode safepoint_mode);
217 218
218 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); 219 void RegisterEnvironmentForDeoptimization(LEnvironment* environment);
219 void DeoptimizeIf(Condition cc, LEnvironment* environment); 220 void DeoptimizeIf(Condition cc, LEnvironment* environment);
220 221
221 void AddToTranslation(Translation* translation, 222 void AddToTranslation(Translation* translation,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 private: 366 private:
366 LCodeGen* codegen_; 367 LCodeGen* codegen_;
367 Label entry_; 368 Label entry_;
368 Label exit_; 369 Label exit_;
369 Label* external_exit_; 370 Label* external_exit_;
370 }; 371 };
371 372
372 } } // namespace v8::internal 373 } } // namespace v8::internal
373 374
374 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 375 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698