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

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

Issue 177313005: Remove duplicates in runtime macros. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « no previous file | src/full-codegen.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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 void EmitKeyedCallWithIC(Call* expr, Expression* key); 490 void EmitKeyedCallWithIC(Call* expr, Expression* key);
491 491
492 // Platform-specific code for inline runtime calls. 492 // Platform-specific code for inline runtime calls.
493 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); 493 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
494 494
495 void EmitInlineRuntimeCall(CallRuntime* expr); 495 void EmitInlineRuntimeCall(CallRuntime* expr);
496 496
497 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ 497 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \
498 void Emit##name(CallRuntime* expr); 498 void Emit##name(CallRuntime* expr);
499 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 499 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
500 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
501 #undef EMIT_INLINE_RUNTIME_CALL 500 #undef EMIT_INLINE_RUNTIME_CALL
502 501
503 // Platform-specific code for resuming generators. 502 // Platform-specific code for resuming generators.
504 void EmitGeneratorResume(Expression *generator, 503 void EmitGeneratorResume(Expression *generator,
505 Expression *value, 504 Expression *value,
506 JSGeneratorObject::ResumeMode resume_mode); 505 JSGeneratorObject::ResumeMode resume_mode);
507 506
508 // Platform-specific code for loading variables. 507 // Platform-specific code for loading variables.
509 void EmitLoadGlobalCheckExtensions(Variable* var, 508 void EmitLoadGlobalCheckExtensions(Variable* var,
510 TypeofState typeof_state, 509 TypeofState typeof_state,
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 964
966 Address start_; 965 Address start_;
967 Address instruction_start_; 966 Address instruction_start_;
968 uint32_t length_; 967 uint32_t length_;
969 }; 968 };
970 969
971 970
972 } } // namespace v8::internal 971 } } // namespace v8::internal
973 972
974 #endif // V8_FULL_CODEGEN_H_ 973 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698