Reviewers: Yury Semikhatsky,
Description:
[Isolates] Make lint happy.
TBR=yurys
Please review this at http://codereview.chromium.org/3473020/show
Affected files:
M src/arm/macro-assembler-arm.cc
M src/ic.h
M src/runtime.cc
M src/spaces-inl.h
M src/string-search.h
M src/stub-cache.h
Index: src/arm/macro-assembler-arm.cc
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
index
57d70b962759ddedd79f06fa26e2be626decb34d..45066240aec5a8128db509c67c0369c5cd6cd561
100644
--- a/src/arm/macro-assembler-arm.cc
+++ b/src/arm/macro-assembler-arm.cc
@@ -1903,7 +1903,6 @@ void MacroAssembler::CallCFunction(Register function,
ExternalReference::the_hole_value_location(),
scratch,
num_arguments);
-
}
Index: src/ic.h
diff --git a/src/ic.h b/src/ic.h
index
64c5cec175d10cc78530e93a9185caa35fb8e5fb..74a54d972f31fb4a9dc66c93acf55d0f8a5d29bc
100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -237,7 +237,8 @@ class CallIC: public CallICBase {
class KeyedCallIC: public CallICBase {
public:
- explicit KeyedCallIC(Isolate* isolate) : CallICBase(Code::KEYED_CALL_IC,
isolate) {
+ explicit KeyedCallIC(Isolate* isolate)
+ : CallICBase(Code::KEYED_CALL_IC, isolate) {
ASSERT(target()->is_keyed_call_stub());
}
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
d313066e01805118993e1bb1d57044d5e581f63d..2a635403e416fb2935e27a267c937a0c9a23df3f
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -703,7 +703,7 @@ static Object*
Runtime_GetOwnProperty(RUNTIME_CALLING_CONVENTION) {
// This is an accessor property with getter and/or setter.
FixedArray* callbacks =
FixedArray::cast(dictionary->ValueAt(entry));
- elms->set(IS_ACCESSOR_INDEX,heap->true_value());
+ elms->set(IS_ACCESSOR_INDEX, heap->true_value());
elms->set(GETTER_INDEX, callbacks->get(0));
elms->set(SETTER_INDEX, callbacks->get(1));
break;
Index: src/spaces-inl.h
diff --git a/src/spaces-inl.h b/src/spaces-inl.h
index
eea5315bdc9e70ab839ab8f7882cec9edd4ad90a..f994621d342fb419c50096106bd1f3e082ac7767
100644
--- a/src/spaces-inl.h
+++ b/src/spaces-inl.h
@@ -238,7 +238,8 @@ void Page::InvalidateWatermark(bool value) {
} else {
flags_ =
(flags_ & ~(1 << WATERMARK_INVALIDATED)) |
- (heap_->page_watermark_invalidated_mark_ ^ (1 <<
WATERMARK_INVALIDATED));
+ (heap_->page_watermark_invalidated_mark_ ^
+ (1 << WATERMARK_INVALIDATED));
}
ASSERT(IsWatermarkValid() == !value);
Index: src/string-search.h
diff --git a/src/string-search.h b/src/string-search.h
index
a65558007cb7534c81799afcf5a1cd1a06f227d5..748a9f8c7031440fcf614f6e666f184312d535ae
100644
--- a/src/string-search.h
+++ b/src/string-search.h
@@ -185,15 +185,16 @@ static void
BoyerMoorePopulateBadCharTable(RuntimeState* state,
}
for (int i = start; i < pattern.length() - 1; i++) {
PatternChar c = pattern[i];
- int bucket = (sizeof(PatternChar) ==1) ? c : c %
RuntimeState::kBMAlphabetSize;
+ int bucket = (sizeof(PatternChar) ==1)
+ ? c : c % RuntimeState::kBMAlphabetSize;
bad_char_occurrence[bucket] = i;
}
}
template <typename PatternChar>
-static void BoyerMoorePopulateGoodSuffixTable(RuntimeState* state,
- Vector<const PatternChar>
pattern) {
+static void BoyerMoorePopulateGoodSuffixTable(
+ RuntimeState* state, Vector<const PatternChar> pattern) {
RuntimeState::BMGoodSuffixBuffers& bmgs_buffers = *state->bmgs_buffers();
int m = pattern.length();
int start = m < RuntimeState::kBMMaxShift ? 0 : m -
RuntimeState::kBMMaxShift;
Index: src/stub-cache.h
diff --git a/src/stub-cache.h b/src/stub-cache.h
index
927b31e3512170985880066ce397b3f2bd307559..68509843df8b1136ff5392fd95d5b116f251759c
100644
--- a/src/stub-cache.h
+++ b/src/stub-cache.h
@@ -271,7 +271,7 @@ class StubCache {
private:
- explicit StubCache(Isolate*);
+ explicit StubCache(Isolate* isolate);
friend class Isolate;
friend class SCTableReference;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev