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

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

Issue 19485008: Replace CONSTANT_FUNCTION by CONSTANT (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // true and false label should be made, to optimize fallthrough. 364 // true and false label should be made, to optimize fallthrough.
365 Condition EmitIsString(Register input, 365 Condition EmitIsString(Register input,
366 Register temp1, 366 Register temp1,
367 Label* is_not_string, 367 Label* is_not_string,
368 SmiCheck check_needed); 368 SmiCheck check_needed);
369 369
370 // Emits optimized code for %_IsConstructCall(). 370 // Emits optimized code for %_IsConstructCall().
371 // Caller should branch on equal condition. 371 // Caller should branch on equal condition.
372 void EmitIsConstructCall(Register temp); 372 void EmitIsConstructCall(Register temp);
373 373
374 void EmitLoadFieldOrConstantFunction(Register result, 374 void EmitLoadFieldOrConstant(Register result,
375 Register object, 375 Register object,
376 Handle<Map> type, 376 Handle<Map> type,
377 Handle<String> name, 377 Handle<String> name,
378 LEnvironment* env); 378 LEnvironment* env);
379 379
380 // Emits optimized code to deep-copy the contents of statically known 380 // Emits optimized code to deep-copy the contents of statically known
381 // object graphs (e.g. object literal boilerplate). 381 // object graphs (e.g. object literal boilerplate).
382 void EmitDeepCopy(Handle<JSObject> object, 382 void EmitDeepCopy(Handle<JSObject> object,
383 Register result, 383 Register result,
384 Register source, 384 Register source,
385 int* offset, 385 int* offset,
386 AllocationSiteMode mode); 386 AllocationSiteMode mode);
387 387
388 void EnsureSpaceForLazyDeopt(); 388 void EnsureSpaceForLazyDeopt();
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 LCodeGen* codegen_; 495 LCodeGen* codegen_;
496 Label entry_; 496 Label entry_;
497 Label exit_; 497 Label exit_;
498 Label* external_exit_; 498 Label* external_exit_;
499 int instruction_index_; 499 int instruction_index_;
500 }; 500 };
501 501
502 } } // namespace v8::internal 502 } } // namespace v8::internal
503 503
504 #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