diff options
| author | Ben Murdoch <benm@google.com> | 2011-06-08 16:22:53 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2011-06-08 16:56:58 +0100 |
| commit | 8b112d2025046f85ef7f6be087c6129c872ebad2 (patch) | |
| tree | a52884866a47449a8037fc3a960fb5a1ba665ceb /src/full-codegen.cc | |
| parent | 7eeff62978ae0a77c5a22455e231e22c10a89958 (diff) | |
| download | android_external_v8-8b112d2025046f85ef7f6be087c6129c872ebad2.tar.gz android_external_v8-8b112d2025046f85ef7f6be087c6129c872ebad2.tar.bz2 android_external_v8-8b112d2025046f85ef7f6be087c6129c872ebad2.zip | |
Merge V8 at r7668: Initial merge by Git.
Change-Id: I1703c8b4f5c63052451a22cf3fb878abc9a0ec75
Diffstat (limited to 'src/full-codegen.cc')
| -rw-r--r-- | src/full-codegen.cc | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/full-codegen.cc b/src/full-codegen.cc index d509cd5b..d6ba56e8 100644 --- a/src/full-codegen.cc +++ b/src/full-codegen.cc @@ -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: @@ -27,7 +27,7 @@ #include "v8.h" -#include "codegen-inl.h" +#include "codegen.h" #include "compiler.h" #include "debug.h" #include "full-codegen.h" @@ -213,12 +213,6 @@ void BreakableStatementChecker::VisitThrow(Throw* expr) { } -void BreakableStatementChecker::VisitIncrementOperation( - IncrementOperation* expr) { - UNREACHABLE(); -} - - void BreakableStatementChecker::VisitProperty(Property* expr) { // Property load is breakable. is_breakable_ = true; @@ -286,7 +280,7 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { } CodeGenerator::MakeCodePrologue(info); const int kInitialBufferSize = 4 * KB; - MacroAssembler masm(NULL, kInitialBufferSize); + MacroAssembler masm(info->isolate(), NULL, kInitialBufferSize); #ifdef ENABLE_GDB_JIT_INTERFACE masm.positions_recorder()->StartGDBJITLineInfoRecording(); #endif @@ -1357,11 +1351,6 @@ void FullCodeGenerator::VisitThrow(Throw* expr) { } -void FullCodeGenerator::VisitIncrementOperation(IncrementOperation* expr) { - UNREACHABLE(); -} - - int FullCodeGenerator::TryFinally::Exit(int stack_depth) { // The macros used here must preserve the result register. __ Drop(stack_depth); |
