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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/hydrogen-instructions.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 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 // true and false label should be made, to optimize fallthrough. 362 // true and false label should be made, to optimize fallthrough.
363 Condition EmitIsString(Register input, 363 Condition EmitIsString(Register input,
364 Register temp1, 364 Register temp1,
365 Label* is_not_string, 365 Label* is_not_string,
366 SmiCheck check_needed); 366 SmiCheck check_needed);
367 367
368 // Emits optimized code for %_IsConstructCall(). 368 // Emits optimized code for %_IsConstructCall().
369 // Caller should branch on equal condition. 369 // Caller should branch on equal condition.
370 void EmitIsConstructCall(Register temp); 370 void EmitIsConstructCall(Register temp);
371 371
372 void EmitLoadFieldOrConstant(Register result,
373 Register object,
374 Handle<Map> type,
375 Handle<String> name,
376 LEnvironment* env);
377
378 // Emits optimized code to deep-copy the contents of statically known 372 // Emits optimized code to deep-copy the contents of statically known
379 // object graphs (e.g. object literal boilerplate). 373 // object graphs (e.g. object literal boilerplate).
380 void EmitDeepCopy(Handle<JSObject> object, 374 void EmitDeepCopy(Handle<JSObject> object,
381 Register result, 375 Register result,
382 Register source, 376 Register source,
383 int* offset, 377 int* offset,
384 AllocationSiteMode mode); 378 AllocationSiteMode mode);
385 379
386 void EnsureSpaceForLazyDeopt(); 380 void EnsureSpaceForLazyDeopt();
387 void DoLoadKeyedExternalArray(LLoadKeyed* instr); 381 void DoLoadKeyedExternalArray(LLoadKeyed* instr);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 LCodeGen* codegen_; 495 LCodeGen* codegen_;
502 Label entry_; 496 Label entry_;
503 Label exit_; 497 Label exit_;
504 Label* external_exit_; 498 Label* external_exit_;
505 int instruction_index_; 499 int instruction_index_;
506 }; 500 };
507 501
508 } } // namespace v8::internal 502 } } // namespace v8::internal
509 503
510 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 504 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698