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

Side by Side Diff: src/arm/lithium-codegen-arm.h

Issue 22213002: Replace LoadNamedFieldPolymorphic with explicit branches. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // true and false label should be made, to optimize fallthrough. 348 // true and false label should be made, to optimize fallthrough.
349 Condition EmitIsString(Register input, 349 Condition EmitIsString(Register input,
350 Register temp1, 350 Register temp1,
351 Label* is_not_string, 351 Label* is_not_string,
352 SmiCheck check_needed); 352 SmiCheck check_needed);
353 353
354 // Emits optimized code for %_IsConstructCall(). 354 // Emits optimized code for %_IsConstructCall().
355 // Caller should branch on equal condition. 355 // Caller should branch on equal condition.
356 void EmitIsConstructCall(Register temp1, Register temp2); 356 void EmitIsConstructCall(Register temp1, Register temp2);
357 357
358 void EmitLoadFieldOrConstantFunction(Register result,
359 Register object,
360 Handle<Map> type,
361 Handle<String> name,
362 LEnvironment* env);
363
364 // Emits optimized code to deep-copy the contents of statically known 358 // Emits optimized code to deep-copy the contents of statically known
365 // object graphs (e.g. object literal boilerplate). 359 // object graphs (e.g. object literal boilerplate).
366 void EmitDeepCopy(Handle<JSObject> object, 360 void EmitDeepCopy(Handle<JSObject> object,
367 Register result, 361 Register result,
368 Register source, 362 Register source,
369 int* offset, 363 int* offset,
370 AllocationSiteMode mode); 364 AllocationSiteMode mode);
371 365
372 // Emit optimized code for integer division. 366 // Emit optimized code for integer division.
373 // Inputs are signed. 367 // Inputs are signed.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 LCodeGen* codegen_; 485 LCodeGen* codegen_;
492 Label entry_; 486 Label entry_;
493 Label exit_; 487 Label exit_;
494 Label* external_exit_; 488 Label* external_exit_;
495 int instruction_index_; 489 int instruction_index_;
496 }; 490 };
497 491
498 } } // namespace v8::internal 492 } } // namespace v8::internal
499 493
500 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 494 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698