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

Unified Diff: src/default-platform.h

Issue 110573004: Merge bleeding_edge 17696:18016. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: src/default-platform.h
diff --git a/src/hydrogen-bch.h b/src/default-platform.h
similarity index 76%
copy from src/hydrogen-bch.h
copy to src/default-platform.h
index a22dacdd4229748e2735b3c0d8519c927b2f617d..fe1bf8e2d64e57349309fdab70c973af2fb99eb9 100644
--- a/src/hydrogen-bch.h
+++ b/src/default-platform.h
@@ -25,31 +25,31 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#ifndef V8_HYDROGEN_BCH_H_
-#define V8_HYDROGEN_BCH_H_
+#ifndef V8_DEFAULT_PLATFORM_H_
+#define V8_DEFAULT_PLATFORM_H_
-#include "hydrogen.h"
+#include "v8.h"
namespace v8 {
namespace internal {
-
-class HBoundsCheckHoistingPhase : public HPhase {
+class DefaultPlatform : public Platform {
public:
- explicit HBoundsCheckHoistingPhase(HGraph* graph)
- : HPhase("H_Bounds checks hoisting", graph) { }
+ DefaultPlatform();
+ virtual ~DefaultPlatform();
- void Run() {
- HoistRedundantBoundsChecks();
- }
+ // v8::Platform implementation.
+ virtual void CallOnBackgroundThread(
+ Task *task, ExpectedRuntime expected_runtime) V8_OVERRIDE;
+ virtual void CallOnForegroundThread(v8::Isolate *isolate,
+ Task *task) V8_OVERRIDE;
private:
- void HoistRedundantBoundsChecks();
-
- DISALLOW_COPY_AND_ASSIGN(HBoundsCheckHoistingPhase);
+ DISALLOW_COPY_AND_ASSIGN(DefaultPlatform);
};
} } // namespace v8::internal
-#endif // V8_HYDROGEN_BCE_H_
+
+#endif // V8_DEFAULT_PLATFORM_H_
« include/v8-platform.h ('K') | « src/debug.cc ('k') | src/default-platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698