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

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

Issue 72813004: Fixed crashes exposed though fuzzing. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix nits Created 7 years, 1 month 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/macro-assembler-arm.cc ('k') | src/hydrogen.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 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); 490 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id);
491 491
492 void EmitInlineRuntimeCall(CallRuntime* expr); 492 void EmitInlineRuntimeCall(CallRuntime* expr);
493 493
494 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ 494 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \
495 void Emit##name(CallRuntime* expr); 495 void Emit##name(CallRuntime* expr);
496 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 496 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
497 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) 497 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
498 #undef EMIT_INLINE_RUNTIME_CALL 498 #undef EMIT_INLINE_RUNTIME_CALL
499 499
500 void EmitSeqStringSetCharCheck(Register string,
501 Register index,
502 Register value,
503 uint32_t encoding_mask);
504
505 // Platform-specific code for resuming generators. 500 // Platform-specific code for resuming generators.
506 void EmitGeneratorResume(Expression *generator, 501 void EmitGeneratorResume(Expression *generator,
507 Expression *value, 502 Expression *value,
508 JSGeneratorObject::ResumeMode resume_mode); 503 JSGeneratorObject::ResumeMode resume_mode);
509 504
510 // Platform-specific code for loading variables. 505 // Platform-specific code for loading variables.
511 void EmitLoadGlobalCheckExtensions(Variable* var, 506 void EmitLoadGlobalCheckExtensions(Variable* var,
512 TypeofState typeof_state, 507 TypeofState typeof_state,
513 Label* slow); 508 Label* slow);
514 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); 509 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow);
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 959
965 Address start_; 960 Address start_;
966 Address instruction_start_; 961 Address instruction_start_;
967 uint32_t length_; 962 uint32_t length_;
968 }; 963 };
969 964
970 965
971 } } // namespace v8::internal 966 } } // namespace v8::internal
972 967
973 #endif // V8_FULL_CODEGEN_H_ 968 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698