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

Side by Side Diff: src/full-codegen.h

Issue 247373002: CallICStub with a "never patch" approach until customization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 years, 8 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 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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 480
481 // Emit code to pop values from the stack associated with nested statements 481 // Emit code to pop values from the stack associated with nested statements
482 // like try/catch, try/finally, etc, running the finallies and unwinding the 482 // like try/catch, try/finally, etc, running the finallies and unwinding the
483 // handlers as needed. 483 // handlers as needed.
484 void EmitUnwindBeforeReturn(); 484 void EmitUnwindBeforeReturn();
485 485
486 // Platform-specific return sequence 486 // Platform-specific return sequence
487 void EmitReturnSequence(); 487 void EmitReturnSequence();
488 488
489 // Platform-specific code sequences for calls 489 // Platform-specific code sequences for calls
490 void EmitCallWithStub(Call* expr); 490 void EmitCall(Call* expr, CallIC::CallType = CallIC::FUNCTION);
491 void EmitCallWithIC(Call* expr); 491 void EmitCallWithLoadIC(Call* expr);
492 void EmitKeyedCallWithIC(Call* expr, Expression* key); 492 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key);
493 493
494 // Platform-specific code for inline runtime calls. 494 // Platform-specific code for inline runtime calls.
495 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); 495 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
496 496
497 void EmitInlineRuntimeCall(CallRuntime* expr); 497 void EmitInlineRuntimeCall(CallRuntime* expr);
498 498
499 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ 499 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \
500 void Emit##name(CallRuntime* expr); 500 void Emit##name(CallRuntime* expr);
501 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 501 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
502 #undef EMIT_INLINE_RUNTIME_CALL 502 #undef EMIT_INLINE_RUNTIME_CALL
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 961
962 Address start_; 962 Address start_;
963 Address instruction_start_; 963 Address instruction_start_;
964 uint32_t length_; 964 uint32_t length_;
965 }; 965 };
966 966
967 967
968 } } // namespace v8::internal 968 } } // namespace v8::internal
969 969
970 #endif // V8_FULL_CODEGEN_H_ 970 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | src/ia32/code-stubs-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698