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

Side by Side Diff: src/arm/lithium-codegen-arm.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: Port to x64 and arm. 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
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } 200 }
201 201
202 void CallRuntimeFromDeferred(Runtime::FunctionId id, 202 void CallRuntimeFromDeferred(Runtime::FunctionId id,
203 int argc, 203 int argc,
204 LInstruction* instr); 204 LInstruction* instr);
205 205
206 // Generate a direct call to a known function. Expects the function 206 // Generate a direct call to a known function. Expects the function
207 // to be in edi. 207 // to be in edi.
208 void CallKnownFunction(Handle<JSFunction> function, 208 void CallKnownFunction(Handle<JSFunction> function,
209 int arity, 209 int arity,
210 LInstruction* instr); 210 LInstruction* instr,
211 CallKind call_kind);
211 212
212 void LoadHeapObject(Register result, Handle<HeapObject> object); 213 void LoadHeapObject(Register result, Handle<HeapObject> object);
213 214
214 void RegisterLazyDeoptimization(LInstruction* instr, 215 void RegisterLazyDeoptimization(LInstruction* instr,
215 SafepointMode safepoint_mode); 216 SafepointMode safepoint_mode);
216 217
217 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); 218 void RegisterEnvironmentForDeoptimization(LEnvironment* environment);
218 void DeoptimizeIf(Condition cc, LEnvironment* environment); 219 void DeoptimizeIf(Condition cc, LEnvironment* environment);
219 220
220 void AddToTranslation(Translation* translation, 221 void AddToTranslation(Translation* translation,
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 private: 383 private:
383 LCodeGen* codegen_; 384 LCodeGen* codegen_;
384 Label entry_; 385 Label entry_;
385 Label exit_; 386 Label exit_;
386 Label* external_exit_; 387 Label* external_exit_;
387 }; 388 };
388 389
389 } } // namespace v8::internal 390 } } // namespace v8::internal
390 391
391 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 392 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698