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

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

Issue 14403015: Disallow dereferencing deferred handles when generating optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 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
« no previous file with comments | « src/ia32/assembler-ia32-inl.h ('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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 void LoadContextFromDeferred(LOperand* context); 257 void LoadContextFromDeferred(LOperand* context);
258 258
259 enum EDIState { 259 enum EDIState {
260 EDI_UNINITIALIZED, 260 EDI_UNINITIALIZED,
261 EDI_CONTAINS_TARGET 261 EDI_CONTAINS_TARGET
262 }; 262 };
263 263
264 // Generate a direct call to a known function. Expects the function 264 // Generate a direct call to a known function. Expects the function
265 // to be in edi. 265 // to be in edi.
266 void CallKnownFunction(Handle<JSFunction> function, 266 void CallKnownFunction(Handle<JSFunction> function,
267 int formal_parameter_count,
267 int arity, 268 int arity,
268 LInstruction* instr, 269 LInstruction* instr,
269 CallKind call_kind, 270 CallKind call_kind,
270 EDIState edi_state); 271 EDIState edi_state);
271 272
272 void RecordSafepointWithLazyDeopt(LInstruction* instr, 273 void RecordSafepointWithLazyDeopt(LInstruction* instr,
273 SafepointMode safepoint_mode); 274 SafepointMode safepoint_mode);
274 275
275 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 276 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
276 Safepoint::DeoptMode mode); 277 Safepoint::DeoptMode mode);
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 LCodeGen* codegen_; 489 LCodeGen* codegen_;
489 Label entry_; 490 Label entry_;
490 Label exit_; 491 Label exit_;
491 Label* external_exit_; 492 Label* external_exit_;
492 int instruction_index_; 493 int instruction_index_;
493 }; 494 };
494 495
495 } } // namespace v8::internal 496 } } // namespace v8::internal
496 497
497 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 498 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32-inl.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698