| Index: src/deoptimizer.h
|
| diff --git a/src/deoptimizer.h b/src/deoptimizer.h
|
| index de5e57f8eb21e1814a7af2b141ea97d12a2374bf..1d4f4770f9762465b49c95f4e35dcddd969b6d31 100644
|
| --- a/src/deoptimizer.h
|
| +++ b/src/deoptimizer.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2010 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -128,6 +128,9 @@ class Deoptimizer : public Malloced {
|
|
|
| static void VisitAllOptimizedFunctions(OptimizedFunctionVisitor* visitor);
|
|
|
| + // The size in bytes of the code required at a lazy deopt patch site.
|
| + static int patch_size();
|
| +
|
| // Patch all stack guard checks in the unoptimized code to
|
| // unconditionally call replacement_code.
|
| static void PatchStackCheckCode(Code* unoptimized_code,
|
|
|